Commit f596888b authored by Mario Chirinos's avatar Mario Chirinos

empty dir fix

parent aabd64d8
......@@ -14,6 +14,7 @@ def findLastDate(directory):
path = Path(directory)
dirs = [e.name for e in path.iterdir() if e.is_dir()]
print("len:", len(dirs))
if len(dirs)>0:
dirs.sort()
i = -1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment