# HG changeset patch # User drewp@bigasterisk.com # Date 2023-05-19 21:40:30 # Node ID 9036ebf37b04005cb55a6991a976717324d08b9e # Parent e1233a04dc2db661da0b6ee1ebcf7cd0094694fa bye tkinter error reporter diff --git a/light9/run_local.py b/light9/run_local.py --- a/light9/run_local.py +++ b/light9/run_local.py @@ -4,22 +4,6 @@ import sys, os, socket 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