electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit b614a673eb1e05d95e626a658651151b6cf8cc7e
parent b5acdab3e98f22ae212dd9aa091f00d3132c186f
Author: ThomasV <thomasv@gitorious>
Date:   Thu, 26 Jun 2014 19:23:15 +0200

catch zbar.UnsupportedError

Diffstat:
Mplugins/qrscanner.py | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/plugins/qrscanner.py b/plugins/qrscanner.py @@ -35,6 +35,8 @@ class Plugin(BasePlugin): try: proc = zbar.Processor() proc.init(video_device=self.video_device()) + except zbar.UnsupportedError: + return False except zbar.SystemError: # Cannot open video device pass