Corrected the ptb db

This commit is contained in:
Maximilien Rigaut 2022-06-25 22:24:52 +02:00
parent a01cef5ffc
commit 544de58745
No known key found for this signature in database
GPG Key ID: 4F14B23709ADA5B1
2 changed files with 3 additions and 3 deletions

View File

@ -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))

View File

@ -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")