Skip to content

Commit

Permalink
Add real (non-Niantic) time fields to webhooks. (#1786)
Browse files Browse the repository at this point in the history
SpeedScan needs a rewrite... :(
  • Loading branch information
sebastienvercammen committed Jan 30, 2017
1 parent 8ebaa2e commit 5a4223b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pogom/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1790,7 +1790,10 @@ def parse_map(args, map_dict, step_location, db_update_queue, wh_update_queue,
disappear_time.timetuple()),
'last_modified_time': p['last_modified_timestamp_ms'],
'time_until_hidden_ms': p['time_till_hidden_ms'],
'verified': SpawnPoint.tth_found(sp)
'verified': SpawnPoint.tth_found(sp),
'seconds_until_despawn': seconds_until_despawn,
'spawn_start': start_end[0],
'spawn_end': start_end[1]
})
wh_update_queue.put(('pokemon', wh_poke))

Expand Down

0 comments on commit 5a4223b

Please sign in to comment.