diff options
Diffstat (limited to 'trygvis/eda/cli/digikey_download_attribute_types_for_category.py')
-rw-r--r-- | trygvis/eda/cli/digikey_download_attribute_types_for_category.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/trygvis/eda/cli/digikey_download_attribute_types_for_category.py b/trygvis/eda/cli/digikey_download_attribute_types_for_category.py index aef360c..1a33ab1 100644 --- a/trygvis/eda/cli/digikey_download_attribute_types_for_category.py +++ b/trygvis/eda/cli/digikey_download_attribute_types_for_category.py @@ -11,12 +11,12 @@ def run(category, sub_category, output_file, args): c = db.find_category(category) if c is None: - cli.exit("Could not find category \"%s\"" % category) + cli.do_exit("Could not find category \"%s\"" % category) sc = c.find_sub_category_by_label(sub_category) if c is None: - cli.exit("Could not find sub-category \"%s\" inside \"%s\"" % (sub_category, category)) + cli.do_exit("Could not find sub-category \"%s\" inside \"%s\"" % (sub_category, category)) attributes = download_attribute_types_from_category(sc, client) db.merge_attribute_types(attributes) |