diff --git a/easywks/main.py b/easywks/main.py index 32b3743..c94b202 100644 --- a/easywks/main.py +++ b/easywks/main.py @@ -37,7 +37,11 @@ def parse_arguments(): def main(): args = parse_arguments() - Config.load_config(args.config[0]) + if args.config is list: + conf = args.config[0] + else: + conf = args.config + Config.load_config(conf) init_working_directory() if args.fn: args.fn()