Skip to content

Commit 94ee632

Browse files
committed
fix string escape sequence issue in python3.11 and >3.11
1 parent 021f4a4 commit 94ee632

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cravat/webresult/webresult.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ async def get_status (request):
268268
job_id, dbpath = await get_jobid_dbpath(request)
269269
conn = await get_db_conn(dbpath)
270270
cursor = await conn.cursor()
271-
q = r'select * from info where colkey not like "\_%" escape "\\"'
271+
q = 'select * from info where colkey not like "\\_%" escape "\\"'
272272
await cursor.execute(q)
273273
content = {}
274274
for row in await cursor.fetchall():

0 commit comments

Comments
 (0)