Skip to content

Commit

Permalink
Merge pull request #573 from danielballan/decode
Browse files Browse the repository at this point in the history
Satisfy expected API of decoders.
  • Loading branch information
padraic-shafer authored Oct 2, 2023
2 parents 2095167 + f5f5897 commit 1ee298b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tiled/client/decoders.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def __init__(self):

def decode(self, data: bytes) -> bytes:
self._data.append(data)
return b""

def flush(self) -> bytes:
# Hide this here to defer the numpy import that it triggers.
Expand Down

0 comments on commit 1ee298b

Please sign in to comment.