Fix printing items in logs

This commit is contained in:
Tim Van Baak 2024-04-02 11:55:16 -07:00
parent 8fd6f3b751
commit b480d6edfd

View File

@ -172,7 +172,7 @@ def cmd_action(cmd_args):
source = LocalSource(data_path, args.source)
try:
item = execute_action(source, args.item, args.action, 5)
print("Item:", item, file=sys.stderr)
print("Item:", item._item, file=sys.stderr)
except InvalidConfigException as ex:
print("Could not fetch", args.source, file=sys.stderr)
print(ex, file=sys.stderr)