浏览代码

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:


正在加载...
取消
保存