From 4cdfbc7030ff2458371285164c43e97d78b3c2a7 Mon Sep 17 00:00:00 2001
From: Emantor <phoenix@emantor.de>
Date: Mon, 16 Jun 2014 10:38:51 +0200
Subject: [PATCH] /usr/bin/python -> /usr/bin/env python2 (AGAIN!)

---
 python/random_pixel.py | 2 +-
 python/reddit.py       | 4 ++--
 python/test-proxy.py   | 2 +-
 python/test-server.py  | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/python/random_pixel.py b/python/random_pixel.py
index af809cf..5e1e2e7 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 45b8eb5..fdc601d 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 97e70bc..93f6d49 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 0aa8485..313d4b0 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
-- 
GitLab