Esempio n. 1
0
    def upgradeDB(self):
        try:
            dao.addColumns()
        except Exception:
            pass
        self.window.withdraw()
        upgradeDB.upgrade()
        self.window.deiconify()

        windows.showError(self.window, "Upgrade", "Your Database has been updated")
Esempio n. 2
0
def addColumns():
    dao.addColumns()