Moved theme set location

This commit is contained in:
Richard C Gingras Jr 2022-03-17 22:37:58 -04:00
parent e29796bba5
commit 163c83d3b2

View File

@ -32,8 +32,6 @@ class G:
inidebug = False inidebug = False
theme = 'LightBlue' theme = 'LightBlue'
sg.theme(G.theme)
def get_dpi(): def get_dpi():
import ctypes import ctypes
import win32api # pip install pywin32 import win32api # pip install pywin32
@ -412,6 +410,7 @@ def main():
setcmd() setcmd()
if not loadconfig(config_location): if not loadconfig(config_location):
return False return False
sg.theme(G.theme)
loggedin = False loggedin = False
while True: while True:
if not loggedin: if not loggedin: