This commit is contained in:
Kevin Rode 2021-01-04 22:31:12 -05:00
parent c12a167795
commit ad85e92511

View File

@ -295,6 +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()
print('worked')
print(team_json_strings) print(team_json_strings)
conn.close() conn.close()