varoius improvements

This commit is contained in:
weckyy702
2021-01-24 23:39:34 +01:00
parent 7634804b27
commit cbad444743
5 changed files with 34 additions and 37 deletions

11
run.py
View File

@@ -1,10 +1,7 @@
#!/usr/bin/env python
from gui.gui import Gui
import sys
do_debug = "--debug" in sys.argv
Gui(theme='DarkGrey11', debug_mode=do_debug)
from gui.gui import Gui as gui
from sys import argv
do_debug = "--debug" in argv
gui(theme='DarkGrey11', debug_mode=do_debug)