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