mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-02-06 08:46:21 +01:00
Rename built-in function
This commit is contained in:
parent
4f7e586197
commit
5a0de1e957
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue