diff --git a/contrib/filter-repo-demos/lint-history b/contrib/filter-repo-demos/lint-history index 4ec34ed..5b45b7e 100755 --- a/contrib/filter-repo-demos/lint-history +++ b/contrib/filter-repo-demos/lint-history @@ -114,7 +114,7 @@ def lint_with_real_filenames(commit, metadata): f.write(contents_plus_newline[:-1]) # Lint the file - subprocess.check_call(lint_args.command + [filename]) + subprocess.check_call(lint_args.command + [filename.decode('utf-8')]) # Get the new contents with open(filename, "rb") as f: