suggest pip install instead of apt-get
This commit is contained in:
parent
97c57996b8
commit
6bb4a554e3
|
@ -12,7 +12,7 @@ proc = None
|
||||||
def scan_qr(config):
|
def scan_qr(config):
|
||||||
global proc
|
global proc
|
||||||
if not zbar:
|
if not zbar:
|
||||||
raise BaseException("\n".join([_("Cannot start QR scanner."),_("The zbar package is not available."),_("On Linux, try 'sudo apt-get install python-zbar'")]))
|
raise BaseException("\n".join([_("Cannot start QR scanner."),_("The zbar package is not available."),_("On Linux, try 'sudo pip install zbar'")]))
|
||||||
if proc is None:
|
if proc is None:
|
||||||
device = config.get("video_device", "default")
|
device = config.get("video_device", "default")
|
||||||
if device == 'default':
|
if device == 'default':
|
||||||
|
|
Loading…
Reference in New Issue