From 5ace114ef8d66d6246120ea7451091477ec78ba5 Mon Sep 17 00:00:00 2001 From: brent s Date: Sat, 9 Sep 2017 12:27:26 -0400 Subject: [PATCH] ...and *i* need to be more careful about writing python after waking up --- gpg/sksdump.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpg/sksdump.py b/gpg/sksdump.py index 24c07b6..fd6c9fb 100755 --- a/gpg/sksdump.py +++ b/gpg/sksdump.py @@ -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