eric6/WebBrowser/SafeBrowsing/SafeBrowsingCache.py

changeset 8218
7c09585bd960
parent 8143
2c730d5fd177
equal deleted inserted replaced
8217:385f60c94548 8218:7c09585bd960
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)

eric ide

mercurial