mirror of
https://github.com/netinvent/npbackup.git
synced 2025-10-27 22:08:07 +08:00
Reformat file with black
This commit is contained in:
parent
114a171d21
commit
aa512e6cc8
1 changed files with 7 additions and 7 deletions
|
|
@ -366,13 +366,13 @@ class ResticRunner:
|
||||||
if self._binary:
|
if self._binary:
|
||||||
_cmd = "{} version".format(self._binary)
|
_cmd = "{} version".format(self._binary)
|
||||||
exit_code, output = command_runner(
|
exit_code, output = command_runner(
|
||||||
_cmd,
|
_cmd,
|
||||||
timeout=60,
|
timeout=60,
|
||||||
split_streams=False,
|
split_streams=False,
|
||||||
encoding="utf-8",
|
encoding="utf-8",
|
||||||
priority=self._priority,
|
priority=self._priority,
|
||||||
io_priority=self._priority,
|
io_priority=self._priority,
|
||||||
)
|
)
|
||||||
if exit_code == 0:
|
if exit_code == 0:
|
||||||
return output
|
return output
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue