Skip to content

Commit a79be34

Browse files
committed
use new function name
1 parent fe7beba commit a79be34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libkernelbot/launchers/modal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ async def run_submission(
3232

3333
result = await loop.run_in_executor(
3434
None,
35-
lambda: modal.Function.lookup("discord-bot-runner", func_name).remote(config=config),
35+
lambda: modal.Function.from_name("discord-bot-runner", func_name).remote(config=config),
3636
)
3737

3838
await status.update("✅ Waiting for modal run to finish... Done")

0 commit comments

Comments
 (0)