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

This commit is contained in:
Agate 2020-06-11 05:57:53 +02:00
parent 3a0c930dd5
commit 85c6baca9a
No known key found for this signature in database
GPG Key ID: 6B501DFD73514E14
2 changed files with 2 additions and 1 deletions

View File

@ -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"):

View File

@ -0,0 +1 @@
Fixed crash on python 3.5 with cli importer (#1155)