Pull data from stats API vestaboard
This commit is contained in:
@@ -56,7 +56,7 @@ def poll_and_display():
|
||||
try:
|
||||
response = urllib2.urlopen(url)
|
||||
data = json.load(response)
|
||||
message = data.get('sign')
|
||||
message = data.get('vestaboard')
|
||||
|
||||
if message and message != last_message:
|
||||
print "Updating sign with new message: " + message
|
||||
|
Reference in New Issue
Block a user