SenY commited on
Commit
95e6d1e
1 Parent(s): cf85d3b

fileidをstrへ返還

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -14,11 +14,11 @@ def greet(query):
14
  fileid = query
15
 
16
  if query in autov22fileid:
17
- fileid = autov22fileid[query]
18
  if query in filename2fileid:
19
- fileid = filename2fileid[query]
20
  if query in name2fileid:
21
- fileid = name2fileid[query]
22
 
23
  if fileid in fileid2json:
24
  result = json.dumps(fileid2json[query.strip()])
 
14
  fileid = query
15
 
16
  if query in autov22fileid:
17
+ fileid = str(autov22fileid[query])
18
  if query in filename2fileid:
19
+ fileid = str(filename2fileid[query])
20
  if query in name2fileid:
21
+ fileid = str(name2fileid[query])
22
 
23
  if fileid in fileid2json:
24
  result = json.dumps(fileid2json[query.strip()])