From 212f663872f590eb608a3dc91794ed1d49a1adcf Mon Sep 17 00:00:00 2001 From: Martin Wendt Date: Sat, 6 Apr 2019 22:26:00 +0200 Subject: [PATCH] Fix eslint --- ftpsync/pyftpsync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ftpsync/pyftpsync.py b/ftpsync/pyftpsync.py index ee19095..b7bcb1b 100644 --- a/ftpsync/pyftpsync.py +++ b/ftpsync/pyftpsync.py @@ -201,7 +201,7 @@ def run(): if callable(getattr(args, "command", None)): # scan_handler try: - return getattr(args, "command")(parser, args) + return args.command(parser, args) except KeyboardInterrupt: print("\nAborted by user.", file=sys.stderr) sys.exit(3)