Ignroe annoying macOS related folders when enumerating
This commit is contained in:
@@ -236,6 +236,8 @@ def latestDirGet(path):
|
||||
"""
|
||||
max_file = None
|
||||
for f in os.listdir(path):
|
||||
if f in (".DS_Store", ):
|
||||
continue
|
||||
x = int(f)
|
||||
if not max_file or x > max_file:
|
||||
max_file = x
|
||||
|
Reference in New Issue
Block a user