Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dgarcia:python312:numeric
python-pypet
do-not-decode-int.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File do-not-decode-int.patch of Package python-pypet
Index: pypet-0.6.1/pypet/storageservice.py =================================================================== --- pypet-0.6.1.orig/pypet/storageservice.py +++ pypet-0.6.1/pypet/storageservice.py @@ -3175,7 +3175,8 @@ class HDF5StorageService(StorageService, # in the list or tuple for idx, item in enumerate(data): if typestr == str.__name__: - data[idx] = data[idx].decode(self._encoding) + if hasattr(data[idx], "decode"): + data[idx] = data[idx].decode(self._encoding) else: try: data[idx] = pypetconstants.PARAMETERTYPEDICT[typestr](item)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor