diff --git a/python/random_pixel.py b/python/random_pixel.py index af809cf857f7700fe6c6e6a8e21d8c0a423f3759..5e1e2e77cb129b1bf71e80d9fc5be96fefc75dac 100755 --- a/python/random_pixel.py +++ b/python/random_pixel.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python2 import client import random diff --git a/python/reddit.py b/python/reddit.py index 45b8eb5c6e881a8fb620e4f4a7f5a49b4f00c153..fdc601d75bcb33a030d9acc0447baccc51968199 100755 --- a/python/reddit.py +++ b/python/reddit.py @@ -7,7 +7,7 @@ from time import sleep SERVER = "tcp://localhost:5570" XOFF = 0 YOFF = 0 -TEXT = "Franz jagt im komplett verwahrlosten Taxi quer durch Bayern" +TEXT = "" pygame.init() @@ -44,7 +44,7 @@ while True: clear() render("reddit.com/r/" + i,0,0) YOFF = 7 - submissions = r.get_subreddit(i).get_hot(limit=10) + submissions = r.get_subreddit(i).get_hot(limit=9) subs = [str(x) for x in submissions] for i in range(1,10): votes,title = subs[i].split(' :: ',1) diff --git a/python/test-proxy.py b/python/test-proxy.py index 97e70bcc2d7ad10400ad2fe0e5816ee4cda0e176..93f6d498ef37a9ea5975f2ace79c3c3d18429319 100755 --- a/python/test-proxy.py +++ b/python/test-proxy.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python2 import zmq, sys diff --git a/python/test-server.py b/python/test-server.py index 0aa8485b5cdd38a1c2a0e69674410db17ea66ff9..313d4b0f61193f254d1eaff53efed80a58d03cd8 100755 --- a/python/test-server.py +++ b/python/test-server.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python2 PWIDTH = 5 WIDTH = PWIDTH*96