Fixed a looping bug with SHUFFLE_NO_SPLITTER where it sometimes didn't do loops at all
This commit is contained in:
@@ -3434,12 +3434,19 @@ class AppBase:
|
||||
# Loop WITH variables go in else.
|
||||
handled = False
|
||||
|
||||
self.logger.info("ACTUALITEM: %s" % actualitem)
|
||||
|
||||
# Has a loop without a variable used inside
|
||||
if len(actualitem[0]) > 2 and actualitem[0][1] == "SHUFFLE_NO_SPLITTER":
|
||||
|
||||
tmpitem = value
|
||||
|
||||
index = 0
|
||||
#index = 0
|
||||
for index in range(len(actualitem)):
|
||||
# Check if it's SHUFFLE_NO_SPLITTER
|
||||
if actualitem[index][1] != "SHUFFLE_NO_SPLITTER":
|
||||
continue
|
||||
|
||||
replacement = actualitem[index][2]
|
||||
if replacement.endswith("}$"):
|
||||
replacement = replacement[:-2]
|
||||
|
||||
Reference in New Issue
Block a user