Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'cura_app.py')
-rwxr-xr-xcura_app.py3
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