tFollow-up 3c505660a6: One search/replace too much - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 895bd019fb16d1a9d643006babc995de4cbf7872 DIR parent 92a701b97a979cdc71250d9223a8411d5ee54ed9 HTML Author: Johann Bauer <bauerj@bauerj.eu> Date: Sat, 10 Mar 2018 00:09:17 +0100 Follow-up 3c505660a6: One search/replace too much Diffstat: M plugins/digitalbitbox/digitalbitbo… | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/plugins/digitalbitbox/digitalbitbox.py b/plugins/digitalbitbox/digitalbitbox.py t@@ -370,7 +370,7 @@ class DigitalBitbox_Client(): else: self.hid_send_frame(msg) r = self.hid_read_frame() - r = r.rstrip(b' \t\n\0') + r = r.rstrip(b' \t\r\n\0') r = r.replace(b"\0", b'') r = to_string(r, 'utf8') reply = json.loads(r)