diff options
author | Bigz <bigz@bgtmth.eu> | 2019-12-12 17:55:11 +0300 |
---|---|---|
committer | Bigz <bigz@bgtmth.eu> | 2019-12-13 00:30:32 +0300 |
commit | b9d0e1d7fecae5969844a1c2012d504742c3e5e4 (patch) | |
tree | fcc3f2f14a5616a16cbc3652060d198f6d25a682 /python-bareos | |
parent | 7817ce406a77ff21f9b40d6f1505e233138c5cd0 (diff) |
python-bareos: fix a bug when adding a linefeed
Diffstat (limited to 'python-bareos')
-rw-r--r-- | python-bareos/bareos/bsock/lowlevel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python-bareos/bareos/bsock/lowlevel.py b/python-bareos/bareos/bsock/lowlevel.py index 795de2be1..602c00abc 100644 --- a/python-bareos/bareos/bsock/lowlevel.py +++ b/python-bareos/bareos/bsock/lowlevel.py @@ -481,7 +481,7 @@ class LowLevel(object): # add a linefeed, if there isn't one already if len(msg) >= 2: if msg[-2] != ord(b'\n'): - sys.stdout.write(b'\n') + sys.stdout.write('\n') def __get_header(self, timeout = 10): |