aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/evergreen/profile_pic_modification/pfp_modify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/evergreen/profile_pic_modification/pfp_modify.py b/bot/exts/evergreen/profile_pic_modification/pfp_modify.py
index 45a41e67..bba688aa 100644
--- a/bot/exts/evergreen/profile_pic_modification/pfp_modify.py
+++ b/bot/exts/evergreen/profile_pic_modification/pfp_modify.py
@@ -18,7 +18,7 @@ log = logging.getLogger(__name__)
_EXECUTOR = ThreadPoolExecutor(10)
-async def in_executor(func: t.Callable, *args) -> asyncio.Future:
+async def in_executor(func: t.Callable, *args) -> t.Any:
"""Allows non-async functions to work in async functions."""
log.trace(f"Running {func.__name__} in an executor.")
loop = asyncio.get_event_loop()