diff --git a/slpkg/update_repository.py b/slpkg/update_repository.py index 92df2133..28d7f147 100644 --- a/slpkg/update_repository.py +++ b/slpkg/update_repository.py @@ -37,8 +37,8 @@ class UpdateRepository: data.insert_sbo_table() @staticmethod - def delete_file(dir: str, txt_file: str): - file = f'{dir}/{txt_file}' + def delete_file(folder: str, txt_file: str): + file = f'{folder}/{txt_file}' if path.exists(file): os.remove(file)