summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
Diffstat (limited to 'boot')
-rw-r--r--boot/vocabcompiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/vocabcompiler.py b/boot/vocabcompiler.py
index d5455d3..70c1ea3 100644
--- a/boot/vocabcompiler.py
+++ b/boot/vocabcompiler.py
@@ -17,7 +17,7 @@ def compile():
Gets the words and creates the dictionary
"""
- m = dir(modules)
+ m = [name for _, name, _ in pkgutil.iter_modules(['modules'])]
words = []
for module_name in m: