summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-07-26 18:10:52 +0200
committerKali Kaneko <kali@leap.se>2013-07-26 18:10:52 +0200
commit48c377b366244d3e5131b853bc75838bf188b084 (patch)
treea0e49566a9a9f0099e41f81be460befe0acd75fe
parentd03177371cb2a686beebdc9e0b45d45f126b2c85 (diff)
Do not assume the existence of the danger flag.
-rw-r--r--src/leap/app.py2
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