mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2026-10-25 01:06:05 +03:00
[#2600] Ensure File Update on Boot
This commit is contained in:
1 file changed
+3
@@ -67,6 +67,7 @@ from config import appversion, appversion_nobuild, config, copyright
|
||||
|
||||
from EDMCLogging import edmclogger, logger, logging
|
||||
from journal_lock import JournalLock, JournalLockResult
|
||||
from update import check_for_datafile_updates, check_for_fdev_updates
|
||||
from common_utils import log_locale, SERVER_RETRY
|
||||
|
||||
if __name__ == '__main__': # noqa: C901
|
||||
@@ -2460,6 +2461,8 @@ sys.path: {sys.path}'''
|
||||
root.after(2, show_killswitch_poppup, root)
|
||||
# Start the main event loop
|
||||
try:
|
||||
check_for_datafile_updates()
|
||||
check_for_fdev_updates()
|
||||
root.mainloop()
|
||||
except KeyboardInterrupt:
|
||||
logger.info("Ctrl+C Detected, Attempting Clean Shutdown")
|
||||
|
||||
Reference in new issue
Block a user