Merge pull request #2448 from Lompik/fixrarimport

Decode bytes to str before call to path_test
This commit is contained in:
Adrian Sampson 2017-02-21 21:42:22 -05:00
commit 8df0a60fe2

View file

@ -988,7 +988,7 @@ class ArchiveImportTask(SentinelImportTask):
`toppath` to that directory.
"""
for path_test, handler_class in self.handlers():
if path_test(self.toppath):
if path_test(util.py3_path(self.toppath)):
break
try: