summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Robinson <joe@mumsnet.com>2014-09-18 16:30:33 +0100
committerJoe Robinson <joe@mumsnet.com>2014-09-18 16:30:33 +0100
commit3737e875d0b69a5340cc6564fc07457a6f4f2a91 (patch)
tree299ac39b764e7236884925bb377f99c660e8eb2e
parentf9587280f6c0e5540ed6386147b4acc61caf52c8 (diff)
Don't require word (eg for -v)
-rwxr-xr-xbladictionary.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bladictionary.py b/bladictionary.py
index 7034988..92fbea5 100755
--- a/bladictionary.py
+++ b/bladictionary.py
@@ -7,7 +7,7 @@ import shlex
import optparse
from lxml import etree
-VERSION = "2.0.10b"
+VERSION = "2.0.11b"
class Definition(object):
#ID is relative to the word type, eg noun 1, noun 2, verb 1, verb 2, not to the entire list
@@ -149,6 +149,7 @@ def parse_args():
types = ["n", "noun", "v", "verb", "adj", "adjective", "adv", "adverb"]
dicts = ["wn", "wordnet", "oed"]
+ word = ""
word_type = ""
word_dict = ""