tfix #4078 - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 7d844096285e8ddb4a663d94b2e44665b0e7be7a
DIR parent bc35c82619c86dcef8b8e74bb5118b4afae59324
HTML Author: SomberNight <somber.night@protonmail.com>
Date: Tue, 4 Sep 2018 16:31:35 +0200
fix #4078
Diffstat:
M electrum/qrscanner.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/electrum/qrscanner.py b/electrum/qrscanner.py
t@@ -75,7 +75,7 @@ def _find_system_cameras():
if os.path.exists(device_root):
for device in os.listdir(device_root):
try:
- with open(os.path.join(device_root, device, 'name')) as f:
+ with open(os.path.join(device_root, device, 'name'), encoding='utf-8') as f:
name = f.read()
except IOError:
continue