Skip to content

Commit

Permalink
Backup thread no longer dies after other ops.
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkusk committed Aug 28, 2023
1 parent 43f524f commit d13bcd8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ttsmutility/TTSMutility.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,12 @@ def load_screen(self, new_screen: Screen, name: str):
screen.mount(TTSWorker())

def on_ttsmutility_init_complete(self):
self.run_worker(self.backup.backup_daemon, thread=True, exclusive=True)
self.run_worker(
self.backup.backup_daemon,
thread=True,
group="backup",
description="Backup Task",
)
config = load_config()
self.load_screen(
ModListScreen(config.tts_mods_dir, config.tts_saves_dir), "mod_list"
Expand Down

0 comments on commit d13bcd8

Please sign in to comment.