Skip to content

Commit

Permalink
cleanup duplicate defs in InstallFile
Browse files Browse the repository at this point in the history
  • Loading branch information
th3w1zard1 committed Nov 7, 2023
1 parent 597b0db commit cfea7bb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pykotor/tslpatcher/mods/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,7 @@ def write_powershell_uninstall_script(backup_dir: CaseAwarePath, uninstall_folde

class InstallFile(PatcherModifications):
def __init__(self, filename: str, replace_existing: bool) -> None:
self.filename: str = filename
self.replace_existing: bool = replace_existing
self.destination: str #= self.DEFAULT_DESTINATION
super().__init__(filename, replace_existing)

self.action: str = "Copy "
self.skip_if_not_replace: bool = True
Expand Down

0 comments on commit cfea7bb

Please sign in to comment.