From 0656a571cd1eb68453435bee3be373213e2e1eb7 Mon Sep 17 00:00:00 2001 From: Marcel Paffrath Date: Mon, 10 Apr 2017 14:01:08 +0200 Subject: [PATCH] now returning pylot_form to have access to GUI modules in ipython --- QtPyLoT.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/QtPyLoT.py b/QtPyLoT.py index 84573748..293942b3 100755 --- a/QtPyLoT.py +++ b/QtPyLoT.py @@ -1209,6 +1209,8 @@ def main(): splash.finish(pylot_form) if app_created: pylot_app.exec_() + else: + return pylot_form if __name__ == "__main__":