From 7466cdccfb19ba8790edeb4d8ada5636f1bdef0e Mon Sep 17 00:00:00 2001 From: urihershgc Date: Wed, 25 Nov 2015 15:44:22 +0200 Subject: [PATCH] variable name fix --- chaos_monkey/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chaos_monkey/main.py b/chaos_monkey/main.py index e47d0f49d..712bf5c7f 100644 --- a/chaos_monkey/main.py +++ b/chaos_monkey/main.py @@ -47,7 +47,7 @@ def main(): arg_parser.add_argument('-c', '--config') opts, monkey_args = arg_parser.parse_known_args(sys.argv[2:]) if opts.config: - config_file = ops.config + config_file = opts.config if os.path.isfile(config_file): # using print because config can also change log locations