Clarify message output on confirm command
This commit is contained in:
parent
e22349802b
commit
a78e05c0c3
|
@ -15,7 +15,7 @@ class ConfirmCommand:
|
||||||
failure("Must be a number, not %s" % spl[2])
|
failure("Must be a number, not %s" % spl[2])
|
||||||
return
|
return
|
||||||
if not int(spl[2]) in main.network[spl[1]].relays.keys():
|
if not int(spl[2]) in main.network[spl[1]].relays.keys():
|
||||||
failure("No such relay on %s: %s" % (spl[2], spl[1]))
|
failure("No such relay on %s: %s" % (spl[1], spl[2]))
|
||||||
return
|
return
|
||||||
regproc.confirmAccount(spl[1], int(spl[2]), spl[3])
|
regproc.confirmAccount(spl[1], int(spl[2]), spl[3])
|
||||||
success("Requested confirmation on %s - %s with token %s" % (spl[1], spl[2], spl[3]))
|
success("Requested confirmation on %s - %s with token %s" % (spl[1], spl[2], spl[3]))
|
||||||
|
|
Loading…
Reference in New Issue