Skip to content

Commit

Permalink
rephrase an entitled-sounding log message.
Browse files Browse the repository at this point in the history
  • Loading branch information
th3w1zard1 committed Apr 9, 2024
1 parent 71c85a1 commit f69fa22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/PyKotor/src/pykotor/tslpatcher/patcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def handle_capsule_and_backup(
msg = f"The capsule '{patch.destination}' did not exist, or permission issues occurred, when attempting to {patch.action.lower().rstrip()} '{patch.sourcefile}'. Skipping file..." # noqa: E501
raise FileNotFoundError(msg)
elif module_root not in tslrcm_omitted_rims and is_rim_file(output_container_path):
self.log.add_warning(f"This mod is patching RIM file Modules/{output_container_path.name}! Patching RIMs is highly incompatible, not recommended, and frankly lazy. Please inform the mod developer to fix this.")
self.log.add_warning(f"This mod is patching RIM file Modules/{output_container_path.name}! Patching RIMs is highly incompatible, not recommended, and frankly lazy. Please request the mod developer to fix this.")
capsule = Capsule(output_container_path)
create_backup(self.log, output_container_path, *self.backup(), PurePath(patch.destination).parent)
exists = capsule.exists(*ResourceIdentifier.from_path(patch.saveas).unpack())
Expand Down

0 comments on commit f69fa22

Please sign in to comment.