fmt
This commit is contained in:
@@ -77,7 +77,10 @@ def main():
|
||||
timeout=LOGIN_TIMEOUT_MS,
|
||||
)
|
||||
|
||||
print_and_notif("Browser closed. Please rerun the script.", title="Browser Closed")
|
||||
print_and_notif(
|
||||
"Browser closed. Please rerun the script.",
|
||||
title="Browser Closed",
|
||||
)
|
||||
|
||||
except PlaywrightTimeoutError:
|
||||
print_and_notif(
|
||||
@@ -117,7 +120,7 @@ def main():
|
||||
|
||||
try:
|
||||
context.close()
|
||||
except PlaywrightError: # ignore if already closed
|
||||
except PlaywrightError: # ignore if already closed
|
||||
pass
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user