Commit b758ed94 by James Cammarata

Merge pull request #6150 from hkariti/fix_join_bug

Fix incorrect use of .join on list causing a traceback
parents f5359c31 ae9c0d87
...@@ -278,7 +278,7 @@ class Play(object): ...@@ -278,7 +278,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'])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment