Addresses #4635 add list instead of join

pull/4176/head
James Tanner 11 years ago
parent 2b5005687a
commit d93780bc8a

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

Loading…
Cancel
Save