diff --git a/xoxo.py b/xoxo.py index 53e3dca..91b3b2d 100644 --- a/xoxo.py +++ b/xoxo.py @@ -59,10 +59,10 @@ if __name__ == '__main__': last_id = 0 while True: result = requests.get("https://xoxo-zone-stats.glitch.me/").json() - if result['stats'] != last_stats: - draw.update(result['stats']) + if result != last_stats: + draw.update(result) draw.write() - last_stats = result['stats'] + last_stats = result time.sleep(30) # vim:ts=2 sw=2 et: