From 7879b210d500ac882cc63724f3a83f5216831ac3 Mon Sep 17 00:00:00 2001 From: Edouard Lambert Date: Tue, 7 Jul 2020 11:48:43 +0200 Subject: [PATCH] [bnporc] don't try to rotate password two times --- modules/bnporc/pp/pages.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/bnporc/pp/pages.py b/modules/bnporc/pp/pages.py index d55260bd15..72c67dfdb5 100644 --- a/modules/bnporc/pp/pages.py +++ b/modules/bnporc/pp/pages.py @@ -156,6 +156,9 @@ def on_load(self): self.logger.warning('Old password restored.') + # we don't want to try to rotate password two times in a row + self.browser.rotating_password = 0 + def cast(x, typ, default=None): try: -- GitLab