diff --git a/setup.py b/setup.py index ac86d32..39784ea 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup( name="thesr", - version="0.0.8", + version="0.0.9", license="gpl-3.0", author="John Hupperts", author_email="jrock4503@hotmail.com", @@ -15,7 +15,7 @@ long_description=long_description, long_description_content_type="text/markdown", url="https://github.com/treatmesubj/Thesaurus_Rex", - download_url="https://github.com/treatmesubj/Thesaurus_Rex/archive/refs/tags/v0.0.8.tar.gz", + download_url="https://github.com/treatmesubj/Thesaurus_Rex/archive/refs/tags/v0.0.9.tar.gz", packages=["thesr"], package_dir={"Thesaurus_Rex": "thesr"}, project_urls={ diff --git a/thesr/thesr.py b/thesr/thesr.py index f11611c..0969821 100644 --- a/thesr/thesr.py +++ b/thesr/thesr.py @@ -85,6 +85,8 @@ def get_syns_ants(word): posTabs = sanjay['tuna']['resultsData']['definitionData']['definitions'] except TypeError: return + except KeyError: + return homonyms = [] for tab in posTabs: