Skip to content

Commit

Permalink
[QT] Fix web inspector params
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Sirokov committed Jun 30, 2020
1 parent 3754213 commit aa5cb06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion webview/platforms/qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,9 @@ def show_inspector(self):
except KeyError:
title = 'Web Inspector - {}'.format(self.parent().title)
url = 'http://localhost:{}'.format(BrowserView.inspector_port)
print(url)
window = Window('web_inspector', title, url, '', 700, 500, None, None, True, False,
(300, 200), False, False, False, False, False, '#fff', None, False, False)
(300, 200), False, False, False, False, False, False, '#fff', None, False, False)

inspector = BrowserView(window)
inspector.show()
Expand Down
2 changes: 1 addition & 1 deletion webview/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
try:
# Python 3.7+
import importlib.resources as importlib_resources
except ImportError:
except (ImportError, ModuleNotFoundError) as e :
# Python 3.6
import importlib_resources

Expand Down

0 comments on commit aa5cb06

Please sign in to comment.