【发布时间】:2018-11-27 05:34:46
【问题描述】:
我正在尝试将字符串添加到 Zapier 代码中的空列表中。
我已经在本地尝试了代码并且它可以工作。我不明白为什么它在 Zapier 内部不起作用。这是代码
output = []
if (input_data[0]=="true"): output.append("string")
这是错误
Traceback (most recent call last):
File "/tmp/tmpEeICti/usercode.py", line 10, in the_function
if (input_data[0]=="true"): output.append("Situationsplan")
KeyError: 0
【问题讨论】:
标签: zapier