summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--synapse/rest/client/v2_alpha/account.py2
-rw-r--r--synapse/util/msisdn.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/account.py b/synapse/rest/client/v2_alpha/account.py
index 71723ef3d6..aac76edf1c 100644
--- a/synapse/rest/client/v2_alpha/account.py
+++ b/synapse/rest/client/v2_alpha/account.py
@@ -72,7 +72,7 @@ class MsisdnPasswordRequestTokenRestServlet(RestServlet):
     def on_POST(self, request):
         body = parse_json_object_from_request(request)
 
-        assert_params_in_request(body,[
+        assert_params_in_request(body, [
             'id_server', 'client_secret',
             'country', 'phone_number', 'send_attempt',
         ])
diff --git a/synapse/util/msisdn.py b/synapse/util/msisdn.py
index 77ef0aa194..6905c5ce75 100644
--- a/synapse/util/msisdn.py
+++ b/synapse/util/msisdn.py
@@ -17,6 +17,7 @@
 import phonenumbers
 from synapse.api.errors import SynapseError
 
+
 def phone_number_to_msisdn(country, number):
     try:
         phoneNumber = phonenumbers.parse(number, country)