BREaK! BREaK! BREaK!
- Fix the main.py which made the server unbootable.
This commit is contained in:
parent
71df573855
commit
4d63062318
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -12,7 +12,7 @@ if os.path.exists('config.py') or os.path.exists('config'):
|
|||
else:
|
||||
# Allow importing the config from a custom path given through an environment variable
|
||||
configPath = os.environ.get("ARCAEA_JSON_CONFIG_PATH")
|
||||
if os.path.exists(configPath):
|
||||
if configPath and os.path.exists(configPath):
|
||||
with open(configPath, 'r') as file:
|
||||
ConfigManager.load_dict(json.load(file))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue