Verified Commit c3d8787c authored by Ansgar's avatar Ansgar

call `scan_directory` with argument of type `bytes`

parent 44fe84b9
Pipeline #40908 passed with stage
in 5 minutes and 50 seconds
......@@ -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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment