Pārlūkot izejas kodu

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

tags/v0.1^2
Ben Kurtovic pirms 12 gadiem
vecāks
revīzija
9000187693
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      earwigbot/commands/geolocate.py

+ 1
- 1
earwigbot/commands/geolocate.py Parādīt failu

@@ -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:


Notiek ielāde…
Atcelt
Saglabāt