From cfea7bb2fea0b5a164e61666794bdcfcf7ad346d Mon Sep 17 00:00:00 2001 From: Benjamin Auquite Date: Mon, 6 Nov 2023 23:00:27 -0600 Subject: [PATCH] cleanup duplicate defs in InstallFile --- pykotor/tslpatcher/mods/install.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pykotor/tslpatcher/mods/install.py b/pykotor/tslpatcher/mods/install.py index 4b815310d..94ca36c70 100644 --- a/pykotor/tslpatcher/mods/install.py +++ b/pykotor/tslpatcher/mods/install.py @@ -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