diff --git a/commands/reg.py b/commands/reg.py index 1e3c272..46ddae0 100644 --- a/commands/reg.py +++ b/commands/reg.py @@ -11,7 +11,7 @@ class RegCommand: if not spl[1] in main.network.keys(): failure("No such network: %s" % spl[1]) 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])) success("Requested registration for all relays on %s" % spl[1]) return