OSDN Git Service
(root)
/
rec10
/
rec10-git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
simplify codes.
[rec10/rec10-git.git]
/
rec10
/
trunk
/
src
/
guess.py
diff --git
a/rec10/trunk/src/guess.py
b/rec10/trunk/src/guess.py
index
e2d710f
..
7f54071
100644
(file)
--- a/
rec10/trunk/src/guess.py
+++ b/
rec10/trunk/src/guess.py
@@
-210,7
+210,7
@@
def searchFolder(title,path,threshold=300):
if len(ngram)>0:
#recdblist.printutf8(title + ngram[0][1] + " : "+str(ngram[0][0]))
if ngram[0][0]>threshold:
- return
[ngram[0][1],ngram[0][0]
]
+ return
ngram[0][1
]
else:
return ""
else: