Needs more debug
This commit is contained in:
parent
b7853200da
commit
aa5b4b0c14
|
@ -295,7 +295,7 @@ def search_teams(search_string):
|
||||||
c.execute("SELECT team_json_string FROM teams WHERE name LIKE ?",(re.sub('[^A-Za-z0-9 %]+', '', f"%{search_string}%"),))
|
c.execute("SELECT team_json_string FROM teams WHERE name LIKE ?",(re.sub('[^A-Za-z0-9 %]+', '', f"%{search_string}%"),))
|
||||||
team_json_strings = c.fetchall()
|
team_json_strings = c.fetchall()
|
||||||
conn.close()
|
conn.close()
|
||||||
return team_json_strings
|
print team_json_strings
|
||||||
|
|
||||||
conn.close()
|
conn.close()
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Reference in New Issue
Block a user