]> git.ipfire.org Git - ipfire.org.git/commitdiff
Fix typo in variable name
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 16 Oct 2018 23:54:47 +0000 (00:54 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 16 Oct 2018 23:54:47 +0000 (00:54 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/web/__init__.py

index 0162d49a7ba3a1497b3a9484ced4cab41afd0944..717e67514fbe57feda13b2a5be48864b616fb093 100644 (file)
@@ -299,7 +299,7 @@ class Application(tornado.web.Application):
        def format_phone_number(self, handler, number):
                if not isinstance(number, phonenumbers.PhoneNumber):
                        try:
-                               number = phonenumbers.parse(s, None)
+                               number = phonenumbers.parse(number, None)
                        except phonenumbers.phonenumberutil.NumberParseException:
                                return number