SenY commited on
Commit
23f25d5
·
1 Parent(s): 0dd22e2

hit条件少し変更

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -58,7 +58,6 @@ def greet(query):
58
  if query in name2fileid:
59
  fileid = str(name2fileid[query])
60
  fileids.add(fileid)
61
- hit = True
62
  if hit is not True:
63
  for k, v in [(k.lower(), v) for k, v in name2fileid.items()]:
64
  if re.search(re.compile(query), k):
 
58
  if query in name2fileid:
59
  fileid = str(name2fileid[query])
60
  fileids.add(fileid)
 
61
  if hit is not True:
62
  for k, v in [(k.lower(), v) for k, v in name2fileid.items()]:
63
  if re.search(re.compile(query), k):