Add "GTIN" to modules/upc.py error message, to better denote that we support
UPC.
This commit is contained in:
parent
88e523c3de
commit
8842979205
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ class Module(ModuleManager.BaseModule):
|
|||
"""
|
||||
arg_len = len(event["args_split"][0])
|
||||
if not arg_len == 12 and not arg_len == 13:
|
||||
event["stderr"].write("Invalid UPC/EAN provided")
|
||||
event["stderr"].write("Invalid UPC/EAN/GTIN provided")
|
||||
return
|
||||
|
||||
page = utils.http.get_url(UPCITEMDB_URL,
|
||||
|
|
Loading…
Reference in a new issue