Skip to content

Commit

Permalink
Fixing player position during login call
Browse files Browse the repository at this point in the history
  • Loading branch information
Reed, Martin authored and Reed, Martin committed Aug 1, 2016
1 parent 8cafd56 commit dba52bc
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 dba52bc

Please sign in to comment.