Skip to content
Snippets Groups Projects
Commit 55365cc8 authored by Emantor's avatar Emantor
Browse files

Switch to scrolling display every 10 seconds

parent c3c784ea
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python2 #!/usr/bin/env python2
# 10x48x5x7 Pixel # 10x48x5x7 Pixel
import sys, client, praw import client, praw
from time import sleep from time import sleep
SERVER = "tcp://localhost:5570" SERVER = "tcp://localhost:5570"
...@@ -30,4 +30,4 @@ while True: ...@@ -30,4 +30,4 @@ while True:
votes,title = subs[i].split(' :: ',1) votes,title = subs[i].split(' :: ',1)
TEXT = '%s :: %s' % (votes.rjust(5),title) TEXT = '%s :: %s' % (votes.rjust(5),title)
client.writeline(TEXT) client.writeline(TEXT)
sleep(30) sleep(10)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment