Missing library fix

Missing library error wasn't handled correctly.
This commit is contained in:
mailchuck 2015-11-08 11:44:19 +01:00
parent c81b23ff54
commit 90db7c9ef1
Signed by untrusted user who does not match committer: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -32,6 +32,8 @@ if bso:
bmpow.restype = ctypes.c_ulonglong bmpow.restype = ctypes.c_ulonglong
except: except:
bmpow = None bmpow = None
else:
bmpow = None
def _set_idle(): def _set_idle():
if 'linux' in sys.platform: if 'linux' in sys.platform: