summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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