Compare commits

..

No commits in common. "e8f63f175f3b2bdcbd6c5c1c75652b54baca246c" and "bf5bdf761834822bc9da1cf1230fe6c4592a280b" have entirely different histories.

View File

@ -162,12 +162,13 @@ def repair_game(
raise RepairError( raise RepairError(
"pkg_version file not found, most likely you need to download the full game again." "pkg_version file not found, most likely you need to download the full game again."
) from e ) from e
with pkg_version_file.open("r") as f: else:
for line in f.readlines(): with pkg_version_file.open("r") as f:
line = line.strip() for line in f.readlines():
if not line: line = line.strip()
continue if not line:
pkg_version.append(json.loads(line)) continue
pkg_version.append(json.loads(line))
repair_executor = concurrent.futures.ThreadPoolExecutor() repair_executor = concurrent.futures.ThreadPoolExecutor()
for file in pkg_version: for file in pkg_version: