Minor update

This commit is contained in:
Miroslav Stampar
2019-05-03 13:38:51 +02:00
parent ece0ae6f86
commit e90e800dde
2 changed files with 2 additions and 3 deletions

View File

@@ -415,8 +415,7 @@ if __name__ == "__main__":
except SystemExit:
raise
except:
if six.PY3:
traceback.print_exc()
traceback.print_exc()
finally:
# Reference: http://stackoverflow.com/questions/1635080/terminate-a-multi-thread-python-program
if threading.activeCount() > 1: