minor fixing util

This commit is contained in:
Volkan Şahin 2016-09-08 15:03:31 +03:00
parent 252d898360
commit 7f212b9098

View file

@ -44,7 +44,8 @@ class Util:
@staticmethod @staticmethod
def delete_file(full_path): def delete_file(full_path):
try: try:
os.remove(full_path) if Util.is_exist(full_path):
os.remove(full_path)
except: except:
raise raise