Skip to content
Snippets Groups Projects
Commit 4cdfbc70 authored by Emantor's avatar Emantor
Browse files

/usr/bin/python -> /usr/bin/env python2 (AGAIN!)

parent e4bb93a4
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/python
#!/usr/bin/env python2
import client
import random
......
......@@ -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)
......
#!/usr/bin/python
#!/usr/bin/env python2
import zmq, sys
......
#!/usr/bin/python
#!/usr/bin/env python2
PWIDTH = 5
WIDTH = PWIDTH*96
......
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