eric6/WebBrowser/SafeBrowsing/SafeBrowsingManager.py

changeset 8218
7c09585bd960
parent 7959
44e15eda6506
child 8220
006ee31b4835
equal deleted inserted replaced
8217:385f60c94548 8218:7c09585bd960
51 51
52 def __init__(self): 52 def __init__(self):
53 """ 53 """
54 Constructor 54 Constructor
55 """ 55 """
56 super(SafeBrowsingManager, self).__init__() 56 super().__init__()
57 57
58 self.__apiKey = Preferences.getWebBrowser("SafeBrowsingApiKey") 58 self.__apiKey = Preferences.getWebBrowser("SafeBrowsingApiKey")
59 if self.__apiKey: 59 if self.__apiKey:
60 self.__apiClient = SafeBrowsingAPIClient(self.__apiKey, 60 self.__apiClient = SafeBrowsingAPIClient(self.__apiKey,
61 parent=self) 61 parent=self)

eric ide

mercurial