Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
abdnh committed Sep 27, 2023
1 parent d9fa59a commit 11fa408
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion qt/aqt/editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ def select_image_from_clipboard_and_occlude(self) -> None:
quality = 80
image.save(buffer, ext, quality)
buffer.reset()
data = bytes(buffer.readAll())
data = bytes(buffer.readAll()) # type: ignore
fname = self._pasted_image_filename(data, ext)
path = namedtmp(fname)
with open(path, "wb") as file:
Expand Down
5 changes: 4 additions & 1 deletion ts/editor/NoteEditor.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,10 @@ the AddCards dialog) should be implemented in the user of this component.
{tr.notetypesIoSelectImage()}
</LabelButton>
</div>
<div id="io-select-clipboard-image-div" style="padding-top: 30px; text-align: center;">
<div
id="io-select-clipboard-image-div"
style="padding-top: 30px; text-align: center;"
>
<LabelButton
--border-left-radius="5px"
--border-right-radius="5px"
Expand Down

0 comments on commit 11fa408

Please sign in to comment.