From f3a483f1ec93dfe38ea63c65f236bf11e006c5c8 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Wed, 24 May 2023 12:39:57 -0300 Subject: [PATCH] [Fixed] Read gziped config files as text files --- kibot/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: