diff options
Diffstat (limited to 'bladictionary.py')
-rwxr-xr-x | bladictionary.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bladictionary.py b/bladictionary.py index ba0383d..03ebb26 100755 --- a/bladictionary.py +++ b/bladictionary.py @@ -7,7 +7,7 @@ import optparse from lxml import etree import sqlite3 -VERSION = "2.1.7b" +VERSION = "2.1.8b" class Definition(object): #ID is relative to the word type, eg noun 1, noun 2, verb 1, verb 2, not to the entire list @@ -392,7 +392,7 @@ def main(): elif all_types and item.word_type is not word_type: num_more+=1 - if suppress_print or all_types: + if (suppress_print or all_types) and num_more > 0: print "(" + str(num_more) + " more)" if __name__ == "__main__": |