diff --git a/labsw/__init__.py b/labsw/__init__.py index 6a81e1e..d3684df 100644 --- a/labsw/__init__.py +++ b/labsw/__init__.py @@ -1 +1 @@ -__version__ = '0.1.6.4' +__version__ = '0.1.6.5' diff --git a/labsw/io.py b/labsw/io.py index d3131f2..92df237 100644 --- a/labsw/io.py +++ b/labsw/io.py @@ -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: