Spaces:
Sleeping
Sleeping
forhavu commited on
Commit ·
35f3596
1
Parent(s): b72a41d
proper exception declaration syntax
Browse files
main.py
CHANGED
|
@@ -181,7 +181,7 @@ def load_config():
|
|
| 181 |
with open("./config.yml", 'r') as stream:
|
| 182 |
try:
|
| 183 |
CONFIG = yaml.load(stream)
|
| 184 |
-
except e:
|
| 185 |
print("There appears to be a syntax problem with your config.yml")
|
| 186 |
raise e
|
| 187 |
|
|
|
|
| 181 |
with open("./config.yml", 'r') as stream:
|
| 182 |
try:
|
| 183 |
CONFIG = yaml.load(stream)
|
| 184 |
+
except Exception as e:
|
| 185 |
print("There appears to be a syntax problem with your config.yml")
|
| 186 |
raise e
|
| 187 |
|