This commit is contained in:
parent
83204d1dff
commit
54980faf49
|
@ -141,7 +141,7 @@ def get_with_stat(q):
|
||||||
records = []
|
records = []
|
||||||
try:
|
try:
|
||||||
is_author = f"{q}".lower().startswith("select author")
|
is_author = f"{q}".lower().startswith("select author")
|
||||||
f"{q}".lower().startswith("select topic")
|
# is_topic = f"{q}".lower().startswith("select topic")
|
||||||
result = []
|
result = []
|
||||||
with local_session() as session:
|
with local_session() as session:
|
||||||
result = session.execute(q)
|
result = session.execute(q)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user