Corrected the ptb db
This commit is contained in:
parent
a01cef5ffc
commit
544de58745
|
|
@ -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))
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
Reference in New Issue