Merge pull request #402 from Fosowl/dev

fix #400
This commit is contained in:
Martin
2025-09-11 23:45:58 +02:00
committed by GitHub
+2 -3
View File
@@ -56,8 +56,7 @@ class Tools():
if path is None or path == "":
path = self.config['MAIN']['work_dir'] if 'MAIN' in self.config and 'work_dir' in self.config['MAIN'] else None
if path is None or path == "":
print("No work directory specified, using default.")
path = self.create_work_dir()
raise Exception("No work dir specified, please specify a work dir in .env file.")
return path
def config_exists(self):
@@ -216,4 +215,4 @@ for file in os.listdir():
```
goodbye!
""")
print(rt)
print(rt)