implement QR code scanning
This commit is contained in:
@@ -37,8 +37,9 @@ from .abstract_base import AbstractQrCodeReader, QrCodeResult
|
||||
|
||||
_logger = get_logger(__name__)
|
||||
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
if 'ANDROID_DATA' in os.environ:
|
||||
LIBNAME = 'libzbar.so'
|
||||
elif sys.platform == 'darwin':
|
||||
LIBNAME = 'libzbar.0.dylib'
|
||||
elif sys.platform in ('windows', 'win32'):
|
||||
LIBNAME = 'libzbar-0.dll'
|
||||
|
||||
Reference in New Issue
Block a user