Fix incorrect use of .join on list

pull/6150/head
Hagai 11 years ago
parent b6222abee6
commit ae9c0d87a9

@ -275,7 +275,7 @@ class Play(object):
if type(passed_vars['when']) is str: if type(passed_vars['when']) is str:
tmpcond.append(passed_vars['when']) tmpcond.append(passed_vars['when'])
elif type(passed_vars['when']) is list: elif type(passed_vars['when']) is list:
tmpcond.join(passed_vars['when']) tmpcond += passed_vars['when']
if type(dep_vars['when']) is str: if type(dep_vars['when']) is str:
tmpcond.append(dep_vars['when']) tmpcond.append(dep_vars['when'])

Loading…
Cancel
Save