about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xstrike.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/strike.py b/strike.py
index 1bb3769..73c91de 100755
--- a/strike.py
+++ b/strike.py
@@ -1,5 +1,5 @@
 #!/usr/bin/env python3
-from os import listdir
+import os
 from time import gmtime, strftime
 from argparse import ArgumentParser
 from configparser import ConfigParser
@@ -55,7 +55,7 @@ def main():
     output_dir = basedir/config['Output']['directory']
     output_dir.mkdir(parents=True, exist_ok=True)
 
-    for file in listdir(input_dir):
+    for file in os.listdir(input_dir):
         if file in exclusions:
             continue 
         contents, meta = handle_file(input_dir/file)