diff options
| -rw-r--r-- | snekbox/snekio.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/snekbox/snekio.py b/snekbox/snekio.py index f57d3b0..b5bd5a1 100644 --- a/snekbox/snekio.py +++ b/snekbox/snekio.py @@ -83,7 +83,7 @@ class FileAttachment:          file.write_bytes(self.content)      @cached_property -    def as_dict(self) -> dict[str, str]: +    def as_dict(self) -> dict[str, str | int]:          """Convert the attachment to a dict."""          content = b64encode(self.content).decode("ascii")          return { | 
