call `scan_directory` with argument of type `bytes`

上级 44fe84b9
......@@ -112,7 +112,7 @@ def scan_directory(path: bytes):
def process_directory(path: bytes, known_hashes: Hashes, base: bytes) -> None:
os.chdir(path)
for fn in scan_directory("."):
for fn in scan_directory(b"."):
process_file(fn, known_hashes, base)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册