Fix another typo
This commit is contained in:
parent
7de25e44f4
commit
66d4501303
|
@ -8,7 +8,7 @@ class Enable:
|
|||
def enable(self, addr, authed, data, obj, spl, success, failure, info, incUsage, length):
|
||||
if authed:
|
||||
if length == 2:
|
||||
if not spl[1] in pool.keys():
|
||||
if not spl[1] in main.pool.keys():
|
||||
failure("Name does not exist: %s" % spl[1])
|
||||
return
|
||||
main.pool[spl[1]]["enabled"] = True
|
||||
|
|
Loading…
Reference in New Issue