diff --git a/lineage-updater b/lineage-updater index 8539549..7f142ab 100755 --- a/lineage-updater +++ b/lineage-updater @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 import os import sys @@ -63,7 +63,7 @@ def args_parse(): return args def file_hash(pathname): - f = open(pathname) + f = open(pathname, 'rb') buf = f.read() f.close() hasher = hashlib.sha1()