From 55365cc83fdf135aa37ab05efe76a981dd7f3a97 Mon Sep 17 00:00:00 2001 From: Emantor <phoenix@emantor.de> Date: Tue, 17 Jun 2014 01:15:17 +0200 Subject: [PATCH] Switch to scrolling display every 10 seconds --- python/reddit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/reddit.py b/python/reddit.py index 14991a6..db4f01f 100755 --- a/python/reddit.py +++ b/python/reddit.py @@ -1,7 +1,7 @@ #!/usr/bin/env python2 # 10x48x5x7 Pixel -import sys, client, praw +import client, praw from time import sleep SERVER = "tcp://localhost:5570" @@ -30,4 +30,4 @@ while True: votes,title = subs[i].split(' :: ',1) TEXT = '%s :: %s' % (votes.rjust(5),title) client.writeline(TEXT) - sleep(30) + sleep(10) -- GitLab