This commit is contained in:
oleting
2020-12-28 17:44:30 +01:00
parent 978d4bf9d2
commit 53dc4fb233
3 changed files with 5 additions and 27 deletions

View File

@@ -33,10 +33,4 @@ def output(values):
def file_there(file):
try:
open((file + '.png'))
return True
except FileNotFoundError:
return False
except:
raise
return os.path.exists(str(file))