Skip to content

Commit

Permalink
[config] Fix error in extra module processing
Browse files Browse the repository at this point in the history
  • Loading branch information
embolalia committed May 16, 2013
1 parent eb0847b commit 3e47a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion willie/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ def enumerate_modules(self, show_all=False):
# Next, look at all the extra directories. (get_list returns [] if there
# are none or the option isn't defined, so it'll just skip this bit)
for directory in self.core.get_list('extra'):
for fn in directory:
for fn in os.listdir(directory):
modules[fn[:-3]] = os.path.join(directory, fn)

# If caller wants all of them, don't apply white and blacklists
Expand Down

0 comments on commit 3e47a1f

Please sign in to comment.