Skip to content

Commit

Permalink
Decode version from bytestring
Browse files Browse the repository at this point in the history
Fixes #363
  • Loading branch information
mikegriffin authored Feb 10, 2024
1 parent e032de7 commit f2f8d5f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def mariabackup_version():
raise BackupError("Failed to run %s: [%d] %s" % cmdline, exc.errno, exc.strerror)

for line in process.stdout:
LOG.info("%s", line.rstrip())
LOG.info("# %s", line.decode("UTF-8").rstrip())
process.wait()
if process.returncode != 0:
raise BackupError("%s returned failure status [%d]" % (cmdline, process.returncode))
Expand Down

0 comments on commit f2f8d5f

Please sign in to comment.