This commit is contained in:
François Boulogne 2024-11-29 16:13:16 +01:00
parent 7ae6f81e6d
commit 12bb1b792f
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
__version__ = '0.1.6.4'
__version__ = '0.1.6.5'

View file

@ -14,7 +14,7 @@ def load_data_RH_logger(filepath, every=1):
"""
# Read the header
if filepath.endswith('gz'):
with gzip.open(filepath, 'r') as f:
with gzip.open(filepath, 'rt') as f:
header = f.readline()
else:
with open(filepath, 'r') as f: