This commit is contained in:
Florian Bruhin 2016-08-03 16:46:12 +02:00
parent 0ddb27709d
commit 23ce4561c8
3 changed files with 2 additions and 2 deletions

View File

@ -57,6 +57,7 @@ class WebInspector(QWidget):
self._load_state_geometry()
def load(self):
"""Set up the inspector."""
envvar = 'QTWEBENGINE_REMOTE_DEBUGGING'
if envvar not in os.environ:
raise WebInspectorError(

View File

@ -48,7 +48,7 @@ class Base:
the global instance.
"""
if settings is None:
return self.GLOBAL_SETTINGS()
return self.GLOBAL_SETTINGS() # pylint: disable=not-callable
else:
return settings

View File

@ -22,7 +22,6 @@
import re
import sys
import json
import socket
import os.path
import http.client