From f64d11bcb5fee53743cab9add2790c3c2de231d8 Mon Sep 17 00:00:00 2001 From: schneefux Date: Mon, 26 May 2014 14:21:46 -0400 Subject: fixed vocabcompiler after init update --- boot/vocabcompiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boot/vocabcompiler.py') 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: -- cgit v1.3.1