...and *i* need to be more careful about writing python after waking up
This commit is contained in:
parent
5ad4f0bda8
commit
5ace114ef8
@ -86,7 +86,7 @@ def destPrep():
|
||||
if len(os.listdir(thisdir)) == 0:
|
||||
os.rmdir(thisdir)
|
||||
for d in dirs:
|
||||
if len(os.listdir(os.join(thisdir, d))) == 0:
|
||||
if len(os.listdir(os.path.join(thisdir, d))) == 0:
|
||||
os.rmdir(os.join(thisdir, d))
|
||||
#try:
|
||||
# os.removedirs(sks['destdir']) # Remove empty dirs
|
||||
|
Loading…
Reference in New Issue
Block a user