<filename>server/update_heatmap.py
from app.heatmap import save_heatmap
import time

i = 0

while True:
    print('Updating #{} ...'.format(i))
    save_heatmap()
    time.sleep(1)
    i += 1

<filename>server/update_heatmap.py
from app.heatmap import save_heatmap
import time

i = 0

while True:
    print('Updating #{} ...'.format(i))
    save_heatmap()
    time.sleep(1)
    i += 1

#{} ...'.format(i))