1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 23:14:47 +00:00

fix linting

This commit is contained in:
deadc0de6
2021-12-13 21:03:37 +01:00
parent 56911eb6fd
commit ddfee88858

View File

@@ -326,7 +326,7 @@ class Options(AttrMonitor):
if self.args['--link']:
# overwrite default import link with cli switch
link = self.args['--link']
if link not in OPT_LINK.keys():
if link not in OPT_LINK:
self.log.err('bad option for --link: {}'.format(link))
sys.exit(USAGE)
self.import_link = OPT_LINK[link]