mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 12:42:25 +00:00
...
This commit is contained in:
parent
dd07a8c4a4
commit
45d8a2a630
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ class Clipboard:
|
|||
def __call__(self, mime: str) -> Callable[[], bytes]:
|
||||
data = self.data.get(mime, b'')
|
||||
if isinstance(data, str):
|
||||
data = data.encode('utf-8')
|
||||
data = data.encode('utf-8') # type: ignore
|
||||
if isinstance(data, bytes):
|
||||
def chunker() -> bytes:
|
||||
nonlocal data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue