Skip to content

Commit

Permalink
f collector
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Kicinski <[email protected]>
  • Loading branch information
kuba-moo committed Jun 8, 2024
1 parent 33fc1b6 commit 950f815
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contest/results-fetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ def insert_wip_psql(self, remote, run, branch_info):
def psql_json_split(self, data):
# return "normal" and "full" as json string or None
# "full" will be None if they are the same to save storage
if "results" not in data:
return None, None
if data.get("results") is None:
return json.dumps(data), None

normal = copy.deepcopy(data)
full = None
Expand Down

0 comments on commit 950f815

Please sign in to comment.