commit 119ee2eb44b4390fed8899c26b2311d6568cd2ea
parent 18cd7ec8f9235ac90c83c6e341982d41eecbf874
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Tue, 15 Nov 2016 11:07:25 +0100
error
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/wikifirc b/wikifirc
@@ -110,10 +110,10 @@ if __name__ == "__main__":
if command == "user":
# register it as a user
for namespace in user_namespaces:
- register(pages, namespace + new_user)
+ register(pages, namespace + value)
elif command == "page":
# register it as a page
- register(pages, new_user)
+ register(pages, value)
else:
# bad command, fail noisily
raise ValueError