From 48c377b366244d3e5131b853bc75838bf188b084 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Fri, 26 Jul 2013 18:10:52 +0200 Subject: Do not assume the existence of the danger flag. --- src/leap/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/leap/app.py') diff --git a/src/leap/app.py b/src/leap/app.py index 7ec755f9..f45e46c4 100644 --- a/src/leap/app.py +++ b/src/leap/app.py @@ -135,7 +135,7 @@ def main(): _, opts = leap_argparse.init_leapc_args() standalone = opts.standalone - bypass_checks = opts.danger + bypass_checks = getattr(opts, 'danger', False) debug = opts.debug logfile = opts.log_file -- cgit v1.2.3