Pixels can no longer be added to a MaxSizeList if the list is full.

This commit is contained in:
CodePanter 2016-04-28 20:24:37 +02:00
parent b638c79461
commit f22e3a2a56
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ def RandomFill(message, width, height):
message.append(pixel)
except IndexError:
yield ''.join(message)
message[2:] = []
message[2:] = [pixel]
yield ''.join(message)
def RunClient():