diff --git a/Script.py b/Script.py index ca4fe83..7b32f61 100644 --- a/Script.py +++ b/Script.py @@ -3,7 +3,7 @@ # IMPORTANT: This script only works in linux systems if __name__ == "__main__": # Walk through all directories and files - for root, dirs, files in os.walk('.'): + for root, dirs, files in os.walk('.', topdown=True): # Ignore hidden directories if root.startswith('./.'): continue