99 @param dbPath path to store the cache DB into |
99 @param dbPath path to store the cache DB into |
100 @type str |
100 @type str |
101 @param parent reference to the parent object |
101 @param parent reference to the parent object |
102 @type QObject |
102 @type QObject |
103 """ |
103 """ |
104 super(SafeBrowsingCache, self).__init__(parent) |
104 super().__init__(parent) |
105 |
105 |
106 self.__connectionName = "SafeBrowsingCache" |
106 self.__connectionName = "SafeBrowsingCache" |
107 |
107 |
108 if not os.path.exists(dbPath): |
108 if not os.path.exists(dbPath): |
109 os.makedirs(dbPath) |
109 os.makedirs(dbPath) |