From c3d8787cd9bb265fd8dc9c89942bb6f527f8bafa Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Thu, 14 Mar 2019 09:13:01 +0100 Subject: [PATCH] call `scan_directory` with argument of type `bytes` --- scripts/debian/link_morgue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/debian/link_morgue b/scripts/debian/link_morgue index 2c22bd8d..f6f5a3e8 100755 --- a/scripts/debian/link_morgue +++ b/scripts/debian/link_morgue @@ -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) -- GitLab