diff --git a/stdplugins/sp_prog_rename.py b/stdplugins/sp_prog_rename.py index bfb3d56..996a8b9 100644 --- a/stdplugins/sp_prog_rename.py +++ b/stdplugins/sp_prog_rename.py @@ -60,7 +60,7 @@ async def on_name(event): ))) if await wait_for_delete(deleted_fut, MULTI_EDIT_TIMEOUT): return - if await wait_for_delete(deleted_fut, MULTI_EDIT_TIMEOUT) or lock.locked(): + if await wait_for_delete(deleted_fut, REVERT_TIMEOUT) or lock.locked(): return with (await lock): await edit_title(DEFAULT_TITLE)