Merge pull request #6 from richardcgingrasjr/main

Moved theme set location
This commit is contained in:
jpattWPC 2022-04-11 15:48:31 -05:00 committed by GitHub
commit 61edff3e87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: