Skip to content

Commit

Permalink
Merge pull request #164 from MartinMReed/bugfix/loginPosition
Browse files Browse the repository at this point in the history
Fixing player position during login call
  • Loading branch information
tejado authored Aug 2, 2016
2 parents 8cafd56 + dba52bc commit 0811db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pgoapi/pgoapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def function(**kwargs):

def login(self, provider, username, password, lat = None, lng = None, alt = None, app_simulation = True):

if lat and lng and alt:
if (lat is not None) and (lng is not None) and (alt is not None):
self._position_lat = lat
self._position_lng = lng
self._position_alt = alt
Expand Down

0 comments on commit 0811db2

Please sign in to comment.