Pixels can no longer be added to a MaxSizeList if the list is full.
This commit is contained in:
parent
b638c79461
commit
f22e3a2a56
2 changed files with 2 additions and 2 deletions
|
|
@ -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():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue