From c10274ccd6c476444eb738b362e2585d7233bcf0 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Sun, 1 Nov 2020 18:50:17 +0000 Subject: [PATCH] Fix syntax error in reg command --- commands/reg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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