Correction to previous commit

This commit is contained in:
2017-08-22 11:38:27 +02:00
parent 0a8679a506
commit 508fee4812

View File

@@ -236,7 +236,7 @@ def latestDirGet(path):
"""
max_file = None
for f in os.listdir(path):
if f in (".DS_Store", ):
if f.endswith(".DS_Store"):
continue
x = int(f)
if not max_file or x > max_file: