diff options
Diffstat (limited to 'cura_app.py')
-rwxr-xr-x | cura_app.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cura_app.py b/cura_app.py index 5101f64c46..38d1149080 100755 --- a/cura_app.py +++ b/cura_app.py @@ -172,10 +172,9 @@ sys.excepthook = exceptHook # Enable dumping traceback for all threads if sys.stderr: faulthandler.enable(file = sys.stderr, all_threads = True) -else: +elif sys.stdout: faulthandler.enable(file = sys.stdout, all_threads = True) - from cura.CuraApplication import CuraApplication |