Pull data from stats API vestaboard

This commit is contained in:
Tanner
2025-10-06 01:23:49 +01:00
parent 3339bd07a2
commit ae83f8e562

View File

@@ -56,7 +56,7 @@ def poll_and_display():
try: try:
response = urllib2.urlopen(url) response = urllib2.urlopen(url)
data = json.load(response) data = json.load(response)
message = data.get('sign') message = data.get('vestaboard')
if message and message != last_message: if message and message != last_message:
print "Updating sign with new message: " + message print "Updating sign with new message: " + message