Fix syntax error in reg command
This commit is contained in:
parent
9fd6688892
commit
c10274ccd6
|
@ -11,7 +11,7 @@ class RegCommand:
|
||||||
if not spl[1] in main.network.keys():
|
if not spl[1] in main.network.keys():
|
||||||
failure("No such network: %s" % spl[1])
|
failure("No such network: %s" % spl[1])
|
||||||
return
|
return
|
||||||
if for i in main.network[spl[1]].relays.keys():
|
for i in main.network[spl[1]].relays.keys():
|
||||||
regproc.registerAccount(spl[1], int(spl[2]))
|
regproc.registerAccount(spl[1], int(spl[2]))
|
||||||
success("Requested registration for all relays on %s" % spl[1])
|
success("Requested registration for all relays on %s" % spl[1])
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue