This commit is contained in:
Sander Land committed 2020-06-11 15:05:48 +02:00
1 parent f6b8c73fb2
commit 033cf29a25
1 file changed
+1 -1
+1 -1
View File
@@ -69,7 +69,7 @@ class KaTrainBase:
print(message) print(message)
def _load_config(self, force_package_config): def _load_config(self, force_package_config):
if len(sys.argv) > 1 and sys.argv[1].endswith(".json"): if len(sys.argv) > 1 and sys.argv[1].endswith("config.json"):
config_file = os.path.abspath(sys.argv[1]) config_file = os.path.abspath(sys.argv[1])
self.log(f"Using command line config file {config_file}", OUTPUT_INFO) self.log(f"Using command line config file {config_file}", OUTPUT_INFO)
else: else: