diff options
author | Kali Kaneko <kali@leap.se> | 2013-07-26 18:10:52 +0200 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2013-07-26 18:10:52 +0200 |
commit | 48c377b366244d3e5131b853bc75838bf188b084 (patch) | |
tree | a0e49566a9a9f0099e41f81be460befe0acd75fe | |
parent | d03177371cb2a686beebdc9e0b45d45f126b2c85 (diff) |
Do not assume the existence of the danger flag.
-rw-r--r-- | src/leap/app.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |