From 6b5cdab1cbebe0abf207dba209496c3ad7c2ce32 Mon Sep 17 00:00:00 2001 From: "Dusty.P" Date: Fri, 11 May 2018 00:56:00 -0800 Subject: [PATCH] Fix check_for_mods --- exts/imports/process_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exts/imports/process_files.py b/exts/imports/process_files.py index 04db36c..1fbdeb8 100644 --- a/exts/imports/process_files.py +++ b/exts/imports/process_files.py @@ -20,7 +20,7 @@ def load_zip(file) -> zipfile.ZipFile: def check_for_mods(game_file) -> list: mods = list() - for line in list(map(bytes.decode, game_file.readlines())): + for line in game_file.readlines(): if line.startswith('ModIDS='): mods.append(line.split('=')[1].strip()) return mods