Correction to previous commit
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user