This commit is contained in:
ed
2021-03-08 03:51:26 +01:00
parent 96495a9bf1
commit 7f2cb6764a
2 changed files with 5 additions and 5 deletions

View File

@@ -1282,18 +1282,18 @@ class HttpCli(object):
args = s3enc(idx.mem_cur, rd, fn)
r = icur.execute(q, args).fetchone()
tags = {}
f["tags"] = tags
if not r:
continue
w = r[0][:16]
tags = {}
q = "select k, v from mt where w = ? and k != 'x'"
for k, v in icur.execute(q, (w,)):
taglist[k] = True
tags[k] = v
f["tags"] = tags
if icur:
taglist = [k for k in self.args.mte.split(",") if k in taglist]
for f in dirs: