This commit is contained in:
Sander Land committed 2020-12-21 11:49:36 +01:00
1 parent 999954cc8d
commit 013cbff40f
2 files changed
+3 -6

No files matched your search

+1 -5
View File
@@ -7,6 +7,7 @@ if "KIVY_AUDIO" not in os.environ:
os.environ["KIVY_AUDIO"] = "sdl2" # some backends hard crash / this seems to be most stable
import kivy
kivy.require("2.0.0")
# next, icon
@@ -707,11 +708,6 @@ def run_app():
print(f"Exception {inst.__class__}: {inst.args}\n{trace}")
return ExceptionManager.PASS
import yappi
yappi.set_clock_type("cpu")
yappi.start()
ExceptionManager.add_handler(CrashHandler())
app = KaTrainApp()
signal.signal(signal.SIGINT, app.signal_handler)