Skip to content

Commit

Permalink
removing encoding arg json load
Browse files Browse the repository at this point in the history
  • Loading branch information
burnout87 committed Sep 11, 2023
1 parent 175c9f1 commit a66ea02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdci_data_analysis/analysis/job_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a66ea02

Please sign in to comment.