Skip to content

Commit 16a3fc2

Browse files
committed
greptile is correct on this one
1 parent c911b9f commit 16a3fc2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reflex/utils/redir.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ def open_browser_and_wait(target_url: str, poll_url: str, interval: int = 2):
3434
Returns:
3535
The response from the poll_url.
3636
"""
37+
import httpx
38+
3739
open_browser(target_url)
3840
console.info("[b]Complete the workflow in the browser to continue.[/b]")
3941
while True:
40-
import httpx
41-
4242
try:
4343
response = net.get(poll_url, follow_redirects=True)
4444
if response.is_success:

0 commit comments

Comments
 (0)