From a66ea020696163ebac2209c67e9a4969c4871a35 Mon Sep 17 00:00:00 2001 From: burnout87 Date: Mon, 11 Sep 2023 11:44:38 +0200 Subject: [PATCH] removing encoding arg json load --- cdci_data_analysis/analysis/job_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdci_data_analysis/analysis/job_manager.py b/cdci_data_analysis/analysis/job_manager.py index 46c030786..cba56853b 100644 --- a/cdci_data_analysis/analysis/job_manager.py +++ b/cdci_data_analysis/analysis/job_manager.py @@ -313,7 +313,7 @@ def updated_dataserver_monitor(self,work_dir=None): try: with open(job_file, 'r') as infile: try: - self.monitor = json.load(infile, encoding='utf-8') + self.monitor = json.load(infile) except Exception as e: # happens in py3.9 at least infile.seek(0)