Rename type into hook_type

"type" itself if a built-in function. Using this name could be unsave.
This commit is contained in:
Thomas-Karl Pietrowski 2016-03-14 15:32:51 +01:00
parent 6adfbf4b90
commit 27423205b0

View File

@ -5,9 +5,9 @@
import sys
def exceptHook(type, value, traceback):
def exceptHook(hook_type, value, traceback):
import cura.CrashHandler
cura.CrashHandler.show(type, value, traceback)
cura.CrashHandler.show(hook_type, value, traceback)
sys.excepthook = exceptHook