Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 5, 2024
1 parent a6e24b3 commit d582020
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sertit/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,9 +351,9 @@ def run_cli(
for line in process.stdout:
line = line.decode(
encoding=sys.stdout.encoding,
errors="replace"
if sys.version_info < (3, 5)
else "backslashreplace",
errors=(
"replace" if sys.version_info < (3, 5) else "backslashreplace"
),
).rstrip()
LOGGER.info(line)
output += line
Expand Down

0 comments on commit d582020

Please sign in to comment.