mirror of
https://github.com/lucaspalomodevelop/Party.git
synced 2026-03-17 09:45:01 +00:00
sql only important stuff
This commit is contained in:
parent
df9d067671
commit
d4c3e95358
2
main.py
2
main.py
@ -157,7 +157,7 @@ def session(id):
|
||||
log_server(f"called /session/{id}")
|
||||
con = sqlite3.connect("party.db")
|
||||
cur = con.cursor()
|
||||
l = f"SELECT * FROM planer WHERE sessionID = \'{id}\' ORDER BY eventzeit;"
|
||||
l = f"SELECT eventname, eventzeit FROM planer WHERE sessionID = \'{id}\' ORDER BY eventzeit;"
|
||||
asd = cur.execute(l)
|
||||
con.commit()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user