瀏覽代碼

Fix signature for self.config.decrypt(node, *nodes).

tags/v0.1^2
Ben Kurtovic 12 年之前
父節點
當前提交
9000187693
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      earwigbot/commands/geolocate.py

+ 1
- 1
earwigbot/commands/geolocate.py 查看文件

@@ -33,7 +33,7 @@ class Geolocate(Command):
commands = ["geolocate", "locate", "geo", "ip"]

def setup(self):
self.config.decrypt(self.config.commands, (self.name, "apiKey"))
self.config.decrypt(self.config.commands, self.name, "apiKey")
try:
self.key = self.config.commands[self.name]["apiKey"]
except KeyError:


Loading…
取消
儲存