Rename built-in function

This commit is contained in:
Dimitris Zlatanidis 2022-12-08 19:20:14 +02:00
parent 4f7e586197
commit 5a0de1e957

View file

@ -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)