From 6d7f1453b101e0c5c7f0c113f5a0f902f7dac981 Mon Sep 17 00:00:00 2001 From: Maximilien Rigaut Date: Sat, 25 Jun 2022 21:59:43 +0200 Subject: [PATCH] Fixed an db import error --- modules/main_runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/main_runner.py b/modules/main_runner.py index c350166..d990832 100644 --- a/modules/main_runner.py +++ b/modules/main_runner.py @@ -105,7 +105,7 @@ class TestRunner: if os.path.exists(self.args.database): print(colored(f" > Opening specified database {self.args.database}", "green")) # TODO : Only if verbose - with open(resource_path(self.args.database), "r") as f: + with open(self.args.database, "r") as f: self.base_data = json.load(f) return self.base_data elif os.path.exists(resource_path(default_database)): # Try opening the default database