Skip to content
Snippets Groups Projects
Commit 55f9f5a2 authored by BRONES Romain's avatar BRONES Romain
Browse files

fix(core): Fix cast bool on scalar

parent 42355aa3
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ def _extract_scalar(attribute, method, date1, date2, db, dtype):
# Transform by datatype
if dtype is bool:
_value = _cast_bool(_value)
_value = aea._cast_bool(_value)
# Fabricate return pandas.Series
d=pd.Series(index=[datetime.datetime.fromtimestamp(int(_date)/1000),], data=[_value,], name=attribute)
......
......@@ -18,7 +18,7 @@ Quick usage in ipython shell:
"""
# NB: Also change version number in setup.py
__version__ = "2.4.1"
__version__ = "2.4.2"
__all__ = ["Access", ]
......
......@@ -3,7 +3,7 @@
from distutils.core import setup
setup(name='ArchiveExtractor',
version='2.4.1', # NB Also change version number in __init__.py
version='2.4.2', # NB Also change version number in __init__.py
description='Python module for extracting data from Archive Extractor Tango Device.',
url='https://gitlab.synchrotron-soleil.fr/dg/archiveextractor',
license="GNU-GPL-v3",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment