From b6ec4005def26eb62874c86dd91087a7d570de61 Mon Sep 17 00:00:00 2001 From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Thu, 24 Sep 2020 19:06:05 +0200 Subject: [PATCH] Make compatible with Python 3 --- tests/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run.py b/tests/run.py index 67a13e0..4654b5c 100755 --- a/tests/run.py +++ b/tests/run.py @@ -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()