diff --git a/kibot/__main__.py b/kibot/__main__.py index fae8f7f3..8a43607f 100644 --- a/kibot/__main__.py +++ b/kibot/__main__.py @@ -488,7 +488,7 @@ def main(): outputs = None try: # The Python way ... - with gzip.open(plot_config) as cf_file: + with gzip.open(plot_config, mode='rt') as cf_file: try: outputs = cr.read(cf_file) except KiPlotConfigurationError as e: