ola-python package has bug(s)
Bug #1980234 reported by
stupid user
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ola (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Python bindings for Open Lighting Architecture has bug in module /usr/lib/
if sys.version >= '3.2':
request.data = data.tobytes()
else:
request.data = data.tostring()
Calling this method raises an exception:
AttributeError: 'array.array' object has no attribute 'tostring'
because checking Python version by comparing strings returns the wrong result.
In latest module version (at https:/
/OpenLightingPr
if sys.version_info >= (3, 2):
and works correctly.