Changeset 103:c55961369c07 in xplra for src/client/python


Ignore:
Timestamp:
09/05/21 07:30:12 (3 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Using frombytes() an array instead of fromstring()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/client/python/xplra.py

    r96 r103  
    528528                elementSize = 1
    529529            if arr is not None and length>0:
    530                 arr.fromstring(self._stream.read(length*elementSize))
     530                arr.frombytes(self._stream.read(length*elementSize))
    531531            return None if arr is None else arr.tolist()
    532532
Note: See TracChangeset for help on using the changeset viewer.