suggest pip install instead of apt-get

This commit is contained in:
ThomasV 2015-02-02 15:15:44 +01:00
parent 97c57996b8
commit 6bb4a554e3
1 changed files with 1 additions and 1 deletions

View File

@ -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':