Removing preload exception handler
This commit is contained in:
parent
a541f25a69
commit
b4f07bfe50
|
@ -1,15 +1,5 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
#Preload Exception handler
|
||||
import sys
|
||||
def preloadExceptionHandler(exc_type, exc_value, tb):
|
||||
import traceback
|
||||
print("An error has occurred while initializing:")
|
||||
traceback.print_exception(exc_type, exc_value, tb)
|
||||
input("\nPress ENTER to exit.")
|
||||
sys.exit(-1)
|
||||
#sys.excepthook = preloadExceptionHandler
|
||||
|
||||
#Imports and variables
|
||||
class uml:
|
||||
version = 0
|
||||
|
|
Loading…
Reference in New Issue