From 7c90f97a97e4a7fa7db6c4000205a279775911b1 Mon Sep 17 00:00:00 2001 From: udf Date: Wed, 14 Nov 2018 00:44:11 +0200 Subject: [PATCH] fix typo --- stdplugins/sp_prog_rename.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)