Skip to content

Commit

Permalink
fixup! Addressing review comments psf#281 (review)
Browse files Browse the repository at this point in the history
  • Loading branch information
autophagy committed May 31, 2018
1 parent 7257646 commit 6fe431f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion black.py
Original file line number Diff line number Diff line change
Expand Up @@ -2794,7 +2794,7 @@ def gen_python_files_in_dir(
"""

for child in path.iterdir():
searchable_path = str(child)
searchable_path = str(child.as_posix())
if Path(child.parts[0]).is_dir():
searchable_path = "/" + searchable_path
if child.is_dir():
Expand Down

0 comments on commit 6fe431f

Please sign in to comment.