Spaces:
Sleeping
Sleeping
another database fix
Browse files- 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):
|