bug fix
This commit is contained in:
parent
7ae6f81e6d
commit
12bb1b792f
2 changed files with 2 additions and 2 deletions
|
@ -1 +1 @@
|
|||
__version__ = '0.1.6.4'
|
||||
__version__ = '0.1.6.5'
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue