def make_variables(self): self.db = Db.Db() self.path = self.export_path = QStandardPaths.writableLocation( QStandardPaths.DocumentsLocation) self.recent_files = RecentFiles.get(RECENT_FILES_MAX) self.closing = False