mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-02-10 20:48:40 +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()
|
data.insert_sbo_table()
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def delete_file(dir: str, txt_file: str):
|
def delete_file(folder: str, txt_file: str):
|
||||||
file = f'{dir}/{txt_file}'
|
file = f'{folder}/{txt_file}'
|
||||||
if path.exists(file):
|
if path.exists(file):
|
||||||
os.remove(file)
|
os.remove(file)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue