rubenvereecken / pokemongo-api

Pokemon Go API for Python
Other
358 stars 120 forks source link

Update demo.py #38

Closed KazukiOnodera closed 8 years ago

KazukiOnodera commented 8 years ago

added "and fort.cooldown_complete_timestamp_ms<time.time():" in sortCloseForts() to not to choose inactive pokestop.

rubenvereecken commented 8 years ago

In the Node implementation of this, if you've never flicked a pokestop before the cooldown timestamp would be undefined. Is this ever the case in the Python implementation, or is it just 0? If so then we're good to go with this PR!

KazukiOnodera commented 8 years ago

2016-07-28 22 47 40 Yes, it's zero.