1
0

use ctypes to access the zbar library

This commit is contained in:
ThomasV
2017-02-17 20:56:38 +01:00
parent 90464b6ac1
commit d99855f060
4 changed files with 49 additions and 39 deletions

View File

@@ -232,6 +232,13 @@ class SimpleConfig(PrintError):
fee_rate = self.get('fee_per_kb', self.max_fee_rate()/2)
return fee_rate
def get_video_device(self):
device = self.get("video_device", "default")
if device == 'default':
device = ''
return device
def read_system_config(path=SYSTEM_CONFIG_PATH):
"""Parse and return the system config settings in /etc/electrum.conf."""
result = {}