mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-31 09:55:55 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
4dd15716db
commit
59b95d9999
1 changed files with 3 additions and 1 deletions
|
|
@ -82,7 +82,9 @@ def _strategy_command(*command: str, shell: bool = False):
|
|||
expanded_command = list(map(expand_path, command))
|
||||
|
||||
try:
|
||||
stdout = subprocess.check_output(expanded_command, universal_newlines=True, shell=shell)
|
||||
stdout = subprocess.check_output(
|
||||
expanded_command, universal_newlines=True, shell=shell
|
||||
)
|
||||
return stdout.strip("\n")
|
||||
except OSError as e:
|
||||
cmd = " ".join(expanded_command)
|
||||
|
|
|
|||
Loading…
Reference in a new issue