NameError in workflow when getting variable
Can anyone help me figure out what is going wrong with a workflow?
I keep getting a
NameError: name 'titles' is not definedon lines 6 & 7 the second block of Python script even though I've done everything I can to make sure that there are values in that variable. I have had the variable show the values in popups, etc, just to make sure that something's getting passed to the variable.The workflow can be found at http://www.editorial-workflows.com/workflow/5152084659798016/hHQqAVMMio0
The reason I have two different blocks of python code is because I'm generated a string of values in the first block, putting those values in a popup to select the appropriate value, and then returning the value to call a dictionary in the 2nd block.
Any help would be greatly appreciated.
I think titles has to be in quotes.
import workflow title = workflow.get_variable('title') print title
Oh wow. It most certainly does. Too late on a Friday, I guess...
Nice userid @pfcbenjamin :-)
Thanks. Someone finally got the reference.