Browse Source

suggest pip install instead of apt-get

283
ThomasV 10 years ago
parent
commit
6bb4a554e3
  1. 2
      lib/qrscanner.py

2
lib/qrscanner.py

@ -12,7 +12,7 @@ proc = None
def scan_qr(config):
global proc
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:
device = config.get("video_device", "default")
if device == 'default':

Loading…
Cancel
Save