Skip to content

Commit

Permalink
Merge pull request #122 from LanceMaverick/minor_fixes
Browse files Browse the repository at this point in the history
Fixed bug where hidden files were attempted to be imported
  • Loading branch information
LanceMaverick committed Mar 20, 2017
2 parents 2e0205f + 8fb5774 commit 7a38896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skybeard/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def all_possible_beards(paths):
literal_paths = get_literal_beard_paths(paths)

for path in literal_paths:
for f in os.listdir(path):
for f in (x for x in os.listdir(path) if not x.startswith(".")):
if is_module(os.path.join(path, f)):
yield os.path.basename(f)

Expand Down

0 comments on commit 7a38896

Please sign in to comment.