This commit is contained in:
Jonathan Lin 2022-03-30 08:40:10 -04:00
Родитель 831b025fb4
Коммит 72f08bd9ee
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -144,7 +144,7 @@ def mobileconfig_install(mobileconfig):
# checks given hash summary page for the line that matches given locale and returns hash
def autohash_firefox_find_hash(hash_summary, locale):
for line in hash_summary.split(b'\n'):
if locale.decode() in line:
if locale in line:
linesplit = line.split()
# In 79.0 hashes are encoded in b'' form.
# easiest way to interpret is to split it 2nd char to 66th char, since the text is