fix main
This commit is contained in:
1 parent
4cced544a1
commit
0a40fa35ff
1 file changed
+5
-5
+5
-5
@@ -1,15 +1,14 @@
|
||||
"""isort:skip_file"""
|
||||
# first, logging level lower
|
||||
import json
|
||||
# first, logging level lower and force audio framework
|
||||
import os
|
||||
import kivy
|
||||
|
||||
kivy.require("2.0.0")
|
||||
|
||||
os.environ["KCFG_KIVY_LOG_LEVEL"] = os.environ.get("KCFG_KIVY_LOG_LEVEL", "warning")
|
||||
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
|
||||
from katrain.core.utils import find_package_resource, PATHS
|
||||
from kivy.config import Config
|
||||
@@ -36,6 +35,7 @@ Config.set("input", "mouse", "mouse,multitouch_on_demand")
|
||||
|
||||
import re
|
||||
import signal
|
||||
import json
|
||||
import sys
|
||||
import threading
|
||||
import traceback
|
||||
|
||||
Reference in new issue
Block a user