From e71263d686f712deb9ac5d3ed737c415dec815e2 Mon Sep 17 00:00:00 2001 From: oy Date: Thu, 6 Jan 2011 12:41:24 +0100 Subject: fixed last commit --- scripts/cmd5.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/cmd5.py b/scripts/cmd5.py index 8402a2bf..dbdfae82 100644 --- a/scripts/cmd5.py +++ b/scripts/cmd5.py @@ -26,7 +26,7 @@ def cstrip(lines): f = "" for filename in sys.argv[1:]: - f += cstrip([l.decode("iso8859-1").strip() for l in open(filename, "rb")]) + f += cstrip([l.strip() for l in open(filename, "rb")]) hash = hashlib.md5(f.encode()).hexdigest().lower()[16:] # TODO: refactor hash that is equal to the 0.5 hash, remove when we -- cgit 1.4.1