bcpkgfox 0.16.75__tar.gz → 0.16.76__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {bcpkgfox-0.16.75 → bcpkgfox-0.16.76}/PKG-INFO +1 -1
- {bcpkgfox-0.16.75 → bcpkgfox-0.16.76}/bcpkgfox/invoke_api.py +7 -2
- {bcpkgfox-0.16.75 → bcpkgfox-0.16.76}/bcpkgfox.egg-info/PKG-INFO +1 -1
- {bcpkgfox-0.16.75 → bcpkgfox-0.16.76}/setup.py +1 -1
- {bcpkgfox-0.16.75 → bcpkgfox-0.16.76}/README.md +0 -0
- {bcpkgfox-0.16.75 → bcpkgfox-0.16.76}/bcpkgfox/__init__.py +0 -0
- {bcpkgfox-0.16.75 → bcpkgfox-0.16.76}/bcpkgfox/clean.py +0 -0
- {bcpkgfox-0.16.75 → bcpkgfox-0.16.76}/bcpkgfox/cli.py +0 -0
- {bcpkgfox-0.16.75 → bcpkgfox-0.16.76}/bcpkgfox/find_elements.py +0 -0
- {bcpkgfox-0.16.75 → bcpkgfox-0.16.76}/bcpkgfox/get_driver.py +0 -0
- {bcpkgfox-0.16.75 → bcpkgfox-0.16.76}/bcpkgfox/system.py +0 -0
- {bcpkgfox-0.16.75 → bcpkgfox-0.16.76}/bcpkgfox.egg-info/SOURCES.txt +0 -0
- {bcpkgfox-0.16.75 → bcpkgfox-0.16.76}/bcpkgfox.egg-info/dependency_links.txt +0 -0
- {bcpkgfox-0.16.75 → bcpkgfox-0.16.76}/bcpkgfox.egg-info/entry_points.txt +0 -0
- {bcpkgfox-0.16.75 → bcpkgfox-0.16.76}/bcpkgfox.egg-info/requires.txt +0 -0
- {bcpkgfox-0.16.75 → bcpkgfox-0.16.76}/bcpkgfox.egg-info/top_level.txt +0 -0
- {bcpkgfox-0.16.75 → bcpkgfox-0.16.76}/setup.cfg +0 -0
|
@@ -187,12 +187,17 @@ def login_2fac(driver, certificate, system, token, code_timeout=60):
|
|
|
187
187
|
|
|
188
188
|
def __monitor(self):
|
|
189
189
|
while self.status:
|
|
190
|
-
|
|
190
|
+
|
|
191
|
+
handles = self.driver.window_handles
|
|
192
|
+
if len(handles) > 1:
|
|
193
|
+
self.driver.switch_to.window(self.driver.window_handles[-1])
|
|
194
|
+
|
|
191
195
|
try:
|
|
192
196
|
alert = self.driver.switch_to.alert
|
|
193
197
|
alert.accept()
|
|
194
198
|
except:
|
|
195
199
|
pass
|
|
200
|
+
|
|
196
201
|
time.sleep(0.1)
|
|
197
202
|
|
|
198
203
|
def start(self):
|
|
@@ -480,6 +485,7 @@ def login_2fac(driver, certificate, system, token, code_timeout=60):
|
|
|
480
485
|
handles = self.driver.window_handles
|
|
481
486
|
self.driver.switch_to.window(handles[-1])
|
|
482
487
|
if len(handles) > 1:
|
|
488
|
+
protection.stop()
|
|
483
489
|
self.driver.switch_to.window(handles[0])
|
|
484
490
|
self.driver.close()
|
|
485
491
|
self.driver.switch_to.window(handles[-1])
|
|
@@ -494,4 +500,3 @@ def login_2fac(driver, certificate, system, token, code_timeout=60):
|
|
|
494
500
|
bot.extension_check()
|
|
495
501
|
protection.start()
|
|
496
502
|
bot.codes_2_fac()
|
|
497
|
-
protection.stop()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|