Skip to main content

Fix this bit of Python

ID
0a5d468
date
2024-04-14 09:06:27+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
816195a
message
Fix this bit of Python
changed files
1 file, 1 addition, 1 deletion

Changed files

expansions/get_directories.py (498) → expansions/get_directories.py (498)

diff --git a/expansions/get_directories.py b/expansions/get_directories.py
index 1ff774d..fe4c53d 100644
--- a/expansions/get_directories.py
+++ b/expansions/get_directories.py
@@ -15,7 +15,7 @@ def get_directories_under(root="."):
 
     for dirpath, dirnames, _ in root.walk():
         for d in dirnames:
-            yield dirpath / f
+            yield dirpath / d
 
 
 for p in get_directories_under():