Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
zediious committed Mar 13, 2024
1 parent 18107a1 commit 7f709da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mo2-unignore-updates/list-ignored.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@
with open('meta.ini', "r", encoding='UTF-8') as read_file:
file_data = read_file.read()
changed_file_data = sub(ignored_regex, 'ignoredVersion=', file_data)

except FileNotFoundError:
print(f'The mod "{mod_dir}" did not have a meta.ini file')

# Log mod if the data changed
if file_data != changed_file_data:
# Log the changed mod
Expand Down
1 change: 1 addition & 0 deletions mo2-unignore-updates/unignore.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
with open('meta.ini', "r", encoding='UTF-8') as read_file:
file_data = read_file.read()
changed_file_data = sub(ignored_regex, 'ignoredVersion=', file_data)

except FileNotFoundError:
print(f'The mod "{mod_dir}" did not have a meta.ini file')

Expand Down

0 comments on commit 7f709da

Please sign in to comment.