Browse Source

Merge branch 'master' of https://github.com/zxc8027/Cura into zxc8027-master

Ghostkeeper 5 years ago
parent
commit
2eab2c0f3d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cura_app.py

+ 1 - 1
cura_app.py

@@ -163,7 +163,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