Skip to content

Commit

Permalink
resolve problem pointed out in review
Browse files Browse the repository at this point in the history
  • Loading branch information
mam10eks committed Dec 10, 2024
1 parent e4cbbd0 commit de67d58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion application/src/tira_app/data/HybridDatabase.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import os
import zipfile
from datetime import datetime as dt
from json.decoder import JSONDecodeError
from pathlib import Path
from typing import Any, Optional

Expand Down Expand Up @@ -328,7 +329,7 @@ def _dataset_to_dict(self, dataset):
try:
dataset_format = json.loads(dataset.format)
dataset_format = [i for i in dataset_format if i in SUPPORTED_FORMATS]
except:
except JSONDecodeError:
pass

return {
Expand Down

0 comments on commit de67d58

Please sign in to comment.