DEV Community

Discussion on: Building an Amazon Price Tracker with Python and WayScript

Collapse
 
battuubelin profile image
BattuUBelin

Hi, sorry, it gives me this error:
line 30, in
outputs["message"]=offer
NameError: name 'outputs' is not defined
Why?
THX a lot!

Collapse
 
sunilaleti profile image
Sunil Aleti

This code works when you run in wayscript not in terminal
As wayscript expects some list variable for output, so code is written wrt wayscript

Collapse
 
battuubelin profile image
BattuUBelin

Thanks, sorry I'm a noob! Now on Wayscript I have only this output: ["Couldn't get details about product"]
But there is a price...