|
@@ -156,9 +156,9 @@ def calculate_time_to_next_attack(this_player_id):
|
|
|
apocalypse_time = starting_time + seconds_till_level_iv
|
|
apocalypse_time = starting_time + seconds_till_level_iv
|
|
|
time_now = arrow.utcnow().timestamp
|
|
time_now = arrow.utcnow().timestamp
|
|
|
diff = apocalypse_time - time_now
|
|
diff = apocalypse_time - time_now
|
|
|
- print(diff)
|
|
|
|
|
|
|
+ # print(diff)
|
|
|
# diff_in_minutes = int(diff//60)
|
|
# diff_in_minutes = int(diff//60)
|
|
|
- print(
|
|
|
|
|
- f'starting time {starting_time}, seconds_till_level_iv {seconds_till_level_iv}, ' +
|
|
|
|
|
- f'apocalypse_time {apocalypse_time}')
|
|
|
|
|
|
|
+ # print(
|
|
|
|
|
+ # f'starting time {starting_time}, seconds_till_level_iv {seconds_till_level_iv}, ' +
|
|
|
|
|
+ # f'apocalypse_time {apocalypse_time}')
|
|
|
return diff, apocalypse_time
|
|
return diff, apocalypse_time
|