From 544de58745b7afe444e250881bbd0c59651b5bae Mon Sep 17 00:00:00 2001 From: Maximilien Rigaut Date: Sat, 25 Jun 2022 22:24:52 +0200 Subject: [PATCH] Corrected the ptb db --- discordHelperWin.py | 2 +- modules/agnostic_paths.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/discordHelperWin.py b/discordHelperWin.py index 03f7516..1032773 100644 --- a/discordHelperWin.py +++ b/discordHelperWin.py @@ -26,7 +26,7 @@ if __name__ == "__main__": # Will always try to load discordHelper/discordHelper.json # TODO : Document this feature. run_db = os.path.join(directory_path, "test_results_found.json") - argv = rf"--all --autodetect --launch --continue --timeout 10 {db_path}--gen-data {run_db} --db discordHelper/test_results.json".split(" ") + argv = rf"--all --autodetect --launch --continue --timeout 10 {db_path} --gen-data {run_db} --db discordHelper/test_results.json".split(" ") # print(" > Starting the discordHelper with the following arguments:") # print(" > " + " ".join(argv)) diff --git a/modules/agnostic_paths.py b/modules/agnostic_paths.py index cfaad1c..06b16c8 100644 --- a/modules/agnostic_paths.py +++ b/modules/agnostic_paths.py @@ -73,10 +73,10 @@ class AgnosticPaths: self.default_database = "databases/windows_base.json" return base_path if self.ptb == 'PTB': - self.default_database = "databases/windows_bas.jsone" + self.default_database = "databases/windows_ptb.jsone" return base_path+"PTB" else: - self.default_database = "databases/windows_ptb.json" + self.default_database = "databases/windows_base.json" return base_path # Try to find the default version elif self.os == 'linux': return os.path.join("/", "opt", "discord")