Skip to content

Commit

Permalink
Python fix
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyschoen committed Feb 2, 2025
1 parent d345cf7 commit b3bd967
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Resources/Scripts/convert_merda.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ def update_coords(lines, restore_x, restore_y, size_w, size_h):
coords_pattern = re.compile(r'#X coords .+')
coords_line = len(lines)-1
if coords_pattern.match(lines[coords_line]):
lines[coords_line] = f'#X coords 0 0 1 1 {
size_w} {size_h} 1 {restore_x} {restore_y};\n'
lines[coords_line] = f'#X coords 0 0 1 1 {size_w} {size_h} 1 {restore_x} {restore_y};\n'


def process_patch(file_path):
Expand Down

0 comments on commit b3bd967

Please sign in to comment.