mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 21:39:57 +00:00
Create a pipe regardless of save progress file's existence
This commit is contained in:
parent
ed10371231
commit
31a6316f93
1 changed files with 3 additions and 4 deletions
|
|
@ -225,10 +225,9 @@ if __name__ == '__main__':
|
|||
lang = lang[lang.find('[') + 1:lang.find(']')]
|
||||
if lang == 'en_US': lang = 'en'
|
||||
journal.change_image('save_' + lang)
|
||||
else:
|
||||
thread = WatchPipe(pipe = pipe_path)
|
||||
thread.change_image.connect(journal.change_image)
|
||||
thread.start()
|
||||
thread = WatchPipe(pipe = pipe_path)
|
||||
thread.change_image.connect(journal.change_image)
|
||||
thread.start()
|
||||
|
||||
if not os.path.exists(pipe_path):
|
||||
pipe_file = open(pipe_path, 'w+')
|
||||
|
|
|
|||
Loading…
Reference in a new issue