Unverified Commit 85c6baca authored by Agate's avatar Agate 💬
Browse files

Fix #1155: Fixed crash on python 3.5 with cli importer

parent 3a0c930d
......@@ -37,7 +37,7 @@ def crawl_dir(dir, extensions, recursive=True, ignored=[]):
yield entry.path
elif recursive and entry.is_dir():
yield from crawl_dir(
entry, extensions, recursive=recursive, ignored=ignored
entry.path, extensions, recursive=recursive, ignored=ignored
)
finally:
if hasattr(scanner, "close"):
......
Fixed crash on python 3.5 with cli importer (#1155)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment