def readDB(self):
self.dm = DataModel(directory = tools.getConfigDir())<EOL>if (self.first_start):<EOL><INDENT>print(pre, "<STR_LIT>")<EOL>self.dm.clearAll()<EOL>self.dm.saveAll()<EOL><DEDENT>if not self.dm.checkCameraCollection():<EOL><INDENT>self.dm.clearCameraCollection()<EOL><DEDENT>
Datamodel includes the following files: config.dat, devices.dat