We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e22809 commit e3ff173Copy full SHA for e3ff173
1 file changed
commands/nem_relay.py
@@ -29,8 +29,10 @@ def _load_config():
29
if not CONFIG_FILE.exists():
30
if CONFIG_EXAMPLE.exists():
31
shutil.copy(CONFIG_EXAMPLE, CONFIG_FILE)
32
- relay_logger.warning("No config at %s — relay will be disabled.", CONFIG_FILE)
33
- return {}
+ relay_logger.info("Created %s from example. Please fill in the webhook URL.", CONFIG_FILE)
+ else:
34
+ relay_logger.warning("No config at %s — relay will be disabled.", CONFIG_FILE)
35
+ return {}
36
37
with open(CONFIG_FILE) as f:
38
return yaml.safe_load(f) or {}
0 commit comments