Skip to content

Commit

Permalink
Remove additional galx instances
Browse files Browse the repository at this point in the history
GALX was also used in SMS logins but is no longer available.
  • Loading branch information
gkuenning committed Jun 20, 2017
1 parent 0318efb commit e3bf270
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions googlevoice/voice.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,11 @@ def login(self, email=None, passwd=None, smsKey=None):

try:
smsToken = re.search(r"name=\"smsToken\"\s+value=\"([^\"]+)\"", content).group(1)
galx = re.search(r"name=\"GALX\"\s+value=\"([^\"]+)\"", content).group(1)
content = self.__do_page('login', {'smsToken': smsToken, 'service': "grandcentral", 'GALX': galx})
content = self.__do_page('login', {'smsToken': smsToken, 'service': "grandcentral"})
except AttributeError:
raise LoginError

del smsKey, smsToken, galx, gxf
del smsKey, smsToken, gxf

del email, passwd

Expand Down

0 comments on commit e3bf270

Please sign in to comment.