diff options
author | Zachary Cook <35985322+zxc8027@users.noreply.github.com> | 2020-02-14 21:02:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-14 21:02:56 +0300 |
commit | 1b72577f885f792d997cfdf9a6624906a4ed88f9 (patch) | |
tree | 4a9db3596fcca6f3eb165bc899d7e54056867e0c /cura_app.py | |
parent | 507459660e0196c4bdc1770b347b6496718b0624 (diff) |
Added check for stdout being defined.
Diffstat (limited to 'cura_app.py')
-rwxr-xr-x | cura_app.py | 2 |
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 |