1
0
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:
Mateusz Piotrowski 2020-09-24 19:06:05 +02:00 committed by GitHub
parent 681d7bb639
commit b6ec4005de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()