summaryrefslogtreecommitdiff
path: root/src/leap/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/app.py')
-rw-r--r--src/leap/app.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/app.py b/src/leap/app.py
index c4a3156e..bb8add0d 100644
--- a/src/leap/app.py
+++ b/src/leap/app.py
@@ -57,6 +57,7 @@ def main():
_, opts = leap_argparse.init_leapc_args()
debug = opts.debug
standalone = opts.standalone
+ bypass_checks = opts.danger
# TODO: get severity from command line args
if debug:
@@ -118,7 +119,7 @@ def main():
timer.start(500)
timer.timeout.connect(lambda: None)
- window = MainWindow(standalone)
+ window = MainWindow(standalone, bypass_checks)
window.show()
sigint_window = partial(sigint_handler, window, logger=logger)