Skip to content

Commit b18e1c7

Browse files
pre-commit-ci[bot]Hugo Osvaldo Barrera
authored andcommitted
Auto fixes from pre-commit hooks
1 parent 0a4114e commit b18e1c7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

vdirsyncer/cli/fetchparams.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,7 @@ def _strategy_command(*command: str, shell: bool = False):
8282
expanded_command = list(map(expand_path, command))
8383

8484
try:
85-
stdout = subprocess.check_output(
86-
expanded_command, universal_newlines=True, shell=shell
87-
)
85+
stdout = subprocess.check_output(expanded_command, text=True, shell=shell)
8886
return stdout.strip("\n")
8987
except OSError as e:
9088
cmd = " ".join(expanded_command)

0 commit comments

Comments
 (0)