mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
qrscanner: return str
This commit is contained in:
parent
9bdac1aae0
commit
1522a00012
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ def scan_barcode(device='', timeout=-1, display=True, threaded=False):
|
||||||
return
|
return
|
||||||
symbol = libzbar.zbar_symbol_set_first_symbol(symbols)
|
symbol = libzbar.zbar_symbol_set_first_symbol(symbols)
|
||||||
data = libzbar.zbar_symbol_get_data(symbol)
|
data = libzbar.zbar_symbol_get_data(symbol)
|
||||||
return data
|
return str(data)
|
||||||
|
|
||||||
def _find_system_cameras():
|
def _find_system_cameras():
|
||||||
device_root = "/sys/class/video4linux"
|
device_root = "/sys/class/video4linux"
|
||||||
|
|
Loading…
Add table
Reference in a new issue