Skip to content

Commit

Permalink
Fixed game sync missing line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
Kataiser committed Dec 23, 2024
1 parent 6d88fc3 commit a34d84a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion game_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def sync_test(project_id: int, force: bool):
tas_file_raw = tas_file.read()

# set up tas file
tas_lines = tas_file_raw.decode('UTF8').splitlines()
tas_lines = tas_file_raw.replace(b'\r\n', b'\n').decode('UTF8').splitlines(keepends=True)
tas_parsed = validation.parse_tas_file(tas_lines, False, False)

if tas_parsed.found_finaltime:
Expand Down

0 comments on commit a34d84a

Please sign in to comment.