Skip to content

Commit

Permalink
Browser Steps - Fixing "'Response' object is not subscriptable" where…
Browse files Browse the repository at this point in the history
… quotes were used in connection URL - Quote wrapped URL for browserstep url was breaking the connection #1627 #1823 #2099 (#2100)
  • Loading branch information
dgtlmoon committed Jan 11, 2024
1 parent 3c727ca commit 8be0029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion changedetectionio/blueprint/browser_steps/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def start_browsersteps_session(watch_uuid):
io_interface_context = io_interface_context.start()

keepalive_ms = ((keepalive_seconds + 3) * 1000)
base_url = os.getenv('PLAYWRIGHT_DRIVER_URL', '')
base_url = os.getenv('PLAYWRIGHT_DRIVER_URL', '').strip('"')
a = "?" if not '?' in base_url else '&'
base_url += a + f"timeout={keepalive_ms}"

Expand Down

0 comments on commit 8be0029

Please sign in to comment.