fix: Correct method call for retrieving URL in navigation request handler
This commit is contained in:
parent
ca9526c1c1
commit
4581fd393c
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ class RestrictedWebEngineView(QWebEngineView):
|
||||||
Args:
|
Args:
|
||||||
request: Navigation request to process
|
request: Navigation request to process
|
||||||
"""
|
"""
|
||||||
url = request.url
|
url = request.url()
|
||||||
|
|
||||||
# If no restrictions, allow all URLs
|
# If no restrictions, allow all URLs
|
||||||
if not self.allowed_urls:
|
if not self.allowed_urls:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue