about summary refs log tree commit diff
path: root/strike.py
diff options
context:
space:
mode:
Diffstat (limited to 'strike.py')
-rwxr-xr-xstrike.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/strike.py b/strike.py
index 73c91de..8faeab3 100755
--- a/strike.py
+++ b/strike.py
@@ -56,6 +56,8 @@ def main():
     output_dir.mkdir(parents=True, exist_ok=True)
 
     for file in os.listdir(input_dir):
+        if (input_dir/file).is_dir():
+            continue
         if file in exclusions:
             continue 
         contents, meta = handle_file(input_dir/file)