loim commited on
Commit
b517c9a
·
1 Parent(s): a1b4828

another database fix

Browse files
Files changed (1) hide show
  1. src/database.py +1 -1
src/database.py CHANGED
@@ -12,7 +12,7 @@ def get_hash(database, table, hash):
12
  try:
13
  return database.table(table).select("*").eq("hash", hash).execute()
14
  except Exception as e:
15
- return {}
16
 
17
 
18
  def upsert_data(database, table, data):
 
12
  try:
13
  return database.table(table).select("*").eq("hash", hash).execute()
14
  except Exception as e:
15
+ return ([None, None], None)
16
 
17
 
18
  def upsert_data(database, table, data):