Skip to content

Commit f3f5c6e

Browse files
committed
tasks: Add missing *_args to callbacks
1 parent 0909150 commit f3f5c6e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

openemail/gtk/compose_sheet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def _insert_emoji(self, *_args):
180180
Gtk.TextView.do_insert_emoji(self.body_view)
181181

182182
@tasks.callback
183-
async def _attach_files(self):
183+
async def _attach_files(self, *_args):
184184
async for attachment in OutgoingAttachment.choose(self):
185185
self.attachments.model.append(attachment)
186186

openemail/gtk/profile_settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def _closed(self, *_args):
149149
tasks.create(profile.update({key: f() for key, f in self._fields.items()}))
150150

151151
@tasks.callback
152-
async def _replace_image(self):
152+
async def _replace_image(self, *_args):
153153
try:
154154
file = await cast(
155155
"Awaitable[Gio.File]",

0 commit comments

Comments
 (0)