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() self._load_state_geometry()
def load(self): def load(self):
"""Set up the inspector."""
envvar = 'QTWEBENGINE_REMOTE_DEBUGGING' envvar = 'QTWEBENGINE_REMOTE_DEBUGGING'
if envvar not in os.environ: if envvar not in os.environ:
raise WebInspectorError( raise WebInspectorError(

View File

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

View File

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