mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-12-23 11:02:22 +03:00
minor fixing util
This commit is contained in:
parent
252d898360
commit
7f212b9098
1 changed files with 2 additions and 1 deletions
|
@ -44,7 +44,8 @@ class Util:
|
|||
@staticmethod
|
||||
def delete_file(full_path):
|
||||
try:
|
||||
os.remove(full_path)
|
||||
if Util.is_exist(full_path):
|
||||
os.remove(full_path)
|
||||
except:
|
||||
raise
|
||||
|
||||
|
|
Loading…
Reference in a new issue