mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-09 00:14:16 +00:00
linting
This commit is contained in:
@@ -27,7 +27,7 @@ class LinkTypes(IntEnum):
|
||||
except KeyError as exc:
|
||||
if default:
|
||||
return default
|
||||
err = 'bad {} value: "{}"'.format(cls.__name__, key)
|
||||
err = f'bad {cls.__name__} value: "{key}"'
|
||||
raise ValueError(err) from exc
|
||||
|
||||
def __str__(self):
|
||||
|
||||
Reference in New Issue
Block a user