Skip to content

Commit 22c9ea9

Browse files
committed
[Interposer] Only insist in know dialogs
1 parent b5907b9 commit 22c9ea9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kiauto/interposer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ def wait_start_by_msg(cfg):
750750
cfg.logger.debug(f"Detected window changing modal status: `{modal}`")
751751
if modal[-1] == '1':
752752
modals.append(modal[:-2])
753-
elif modal[-1] == '0':
753+
elif modal[-1] == '0' and modal[:-2] in modals:
754754
modals.remove(modal[:-2])
755755
if len(modals):
756756
name = modals[-1]

0 commit comments

Comments
 (0)