kopia lustrzana https://github.com/Michael-K-Stein/SpotiFile
Fix typo
rodzic
02a3cc61e7
commit
a4131dadf0
|
@ -109,7 +109,7 @@ def save_globals_save_file():
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
console.error(f'Failed to load globals save file! Exception: {ex}')
|
console.error(f'Failed to load globals save file! Exception: {ex}')
|
||||||
if os.path.exists(settings.GLOBALS_SAVE_FILE):
|
if os.path.exists(settings.GLOBALS_SAVE_FILE):
|
||||||
console.error(f'TO avoid data loss, SpotiFile will now exit.')
|
console.error(f'To avoid data loss, SpotiFile will now exit.')
|
||||||
exit(1)
|
exit(1)
|
||||||
while g_keep_saving > 0:
|
while g_keep_saving > 0:
|
||||||
with open(settings.GLOBALS_SAVE_FILE, 'w') as f:
|
with open(settings.GLOBALS_SAVE_FILE, 'w') as f:
|
||||||
|
|
Ładowanie…
Reference in New Issue