diff --git a/modules/nr.py b/modules/nr.py index 1c88bc99..9982a0c4 100644 --- a/modules/nr.py +++ b/modules/nr.py @@ -315,8 +315,8 @@ class Module(ModuleManager.BaseModule): "S": "ship", "T": "trip", "1": "train", "2": "freight", "3": "trip", "4": "ship", "5": "bus"} - eagle_key = self.bot.config["eagle-api-key"] - eagle_url = self.bot.config["eagle-api-url"] + eagle_key = self.bot.config.get("eagle-api-key", None) + eagle_url = self.bot.config.get("eagle-api-url", None) schedule = {} sources = []