Updated test.py with timezone

This commit is contained in:
Domenico Iezzi 2018-01-25 11:41:07 +01:00
parent 24a3e1a09b
commit 149707caab
No known key found for this signature in database
GPG Key ID: 7AC94D5DDA2FB7EE

View File

@ -9,7 +9,7 @@ ap.add_argument('-p', '--password', dest='password', help='google password')
args = ap.parse_args() args = ap.parse_args()
server = GooglePlayAPI(debug=True, locale='it_IT') server = GooglePlayAPI(debug=True, locale='it_IT', timezone='Europe/Rome')
# LOGIN # LOGIN
@ -19,7 +19,7 @@ gsfId = server.gsfId
authSubToken = server.authSubToken authSubToken = server.authSubToken
print('\nNow trying secondary login with ac2dm token and gsfId saved\n') print('\nNow trying secondary login with ac2dm token and gsfId saved\n')
server = GooglePlayAPI(debug=True, locale='it_IT') server = GooglePlayAPI(debug=True, locale='it_IT', timezone='Europe/Rome')
server.login(None, None, gsfId, authSubToken) server.login(None, None, gsfId, authSubToken)
# SEARCH # SEARCH