Added fetch killswitch task on start

This commit is contained in:
A_D authored and Athanasius committed 2021-04-01 14:45:47 +01:00
1 parent d81093760e
commit c96e59f7b3
1 file changed
+4
+4
View File
@@ -12,6 +12,7 @@ import webbrowser
from builtins import object, str
from os import chdir, environ
from os.path import dirname, isdir, join
import killswitch
from sys import platform
from time import localtime, strftime, time
from typing import TYPE_CHECKING, Any, Mapping, Optional, Tuple, cast
@@ -1565,6 +1566,9 @@ sys.path: {sys.path}'''
Translations.install(config.get_str('language')) # Can generate errors so wait til log set up
logger.debug('fetching killswitches...')
killswitch.setup_main_list()
root = tk.Tk(className=appname.lower())
# UI Scaling