mirror of
https://github.com/ericchiang/pup
synced 2025-01-15 02:00:55 +00:00
Make compatible with Python 3
This commit is contained in:
parent
681d7bb639
commit
b6ec4005de
@ -4,7 +4,7 @@ from __future__ import print_function
|
||||
from hashlib import sha1
|
||||
from subprocess import Popen, PIPE, STDOUT
|
||||
|
||||
data = open("index.html", "r").read()
|
||||
data = open("index.html", "rb").read()
|
||||
|
||||
for line in open("cmds.txt", "r"):
|
||||
line = line.strip()
|
||||
|
Loading…
Reference in New Issue
Block a user