Missing library fix

Missing library error wasn't handled correctly.
This commit is contained in:
mailchuck 2015-11-08 11:44:19 +01:00 committed by Peter Surda
parent 0a8fdd7eff
commit 8e650396da
1 changed files with 2 additions and 0 deletions

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: