changeset 2177:9036ebf37b04

bye tkinter error reporter
author drewp@bigasterisk.com
date Fri, 19 May 2023 14:40:30 -0700
parents e1233a04dc2d
children dc126c757dbe
files light9/run_local.py
diffstat 1 files changed, 0 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/light9/run_local.py	Fri May 19 14:40:13 2023 -0700
+++ b/light9/run_local.py	Fri May 19 14:40:30 2023 -0700
@@ -4,22 +4,6 @@
 
 from twisted.python.failure import Failure
 
-
-try:
-    import tkinter
-except ImportError:
-    pass
-else:
-
-    def rce(self, exc, val, tb):
-        sys.stderr.write("Exception in Tkinter callback\n")
-        if True:
-            sys.excepthook(exc, val, tb)
-        else:
-            Failure(val, exc, tb).printDetailedTraceback()
-
-    tkinter.Tk.report_callback_exception = rce
-
 import coloredlogs, logging, time
 try:
     import faulthandler