diff options
| author | oy <Tom_Adams@web.de> | 2011-01-06 12:41:24 +0100 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-01-06 12:41:24 +0100 |
| commit | e71263d686f712deb9ac5d3ed737c415dec815e2 (patch) | |
| tree | edf4b9235ff7515b2da1427abfd8cb589e7a5819 /scripts | |
| parent | 4ff61fcdaa84e874c862374976bf06bb1f367b7f (diff) | |
| download | zcatch-e71263d686f712deb9ac5d3ed737c415dec815e2.tar.gz zcatch-e71263d686f712deb9ac5d3ed737c415dec815e2.zip | |
fixed last commit
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/cmd5.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |