config
This commit is contained in:
1 parent
f6b8c73fb2
commit
033cf29a25
1 file changed
+1
-1
@@ -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:
|
||||||
|
|||||||
Reference in new issue
Block a user