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 7, 2024
1 parent 2c32472 commit e81f5fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contest/results-fetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def psql_has_wip(self, remote, run):
with self.psql_conn.cursor() as cur:
cur.execute(f"SELECT branch FROM {self.tbl_res} " + self.psql_run_selector(cur, remote, run))
rows = cur.fetchall()
return len(rows) > 0
return rows and len(rows) > 0

def insert_result_psql(self, cur, data):
normal, full = self.psql_json_split(data)
Expand Down

0 comments on commit e81f5fc

Please sign in to comment.