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) |