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:
authorZachary Cook <35985322+zxc8027@users.noreply.github.com>2020-02-14 21:02:56 +0300
committerGitHub <noreply@github.com>2020-02-14 21:02:56 +0300
commit1b72577f885f792d997cfdf9a6624906a4ed88f9 (patch)
tree4a9db3596fcca6f3eb165bc899d7e54056867e0c /cura_app.py
parent507459660e0196c4bdc1770b347b6496718b0624 (diff)
Added check for stdout being defined.
Diffstat (limited to 'cura_app.py')
-rwxr-xr-xcura_app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cura_app.py b/cura_app.py
index d1f7ad1c46..55a60022dc 100755
--- a/cura_app.py
+++ b/cura_app.py
@@ -162,7 +162,7 @@ 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)
# Workaround for a race condition on certain systems where there