kopia lustrzana https://github.com/ctjacobs/pyqso
Rever to the basic built-in list of modes if there's a database error.
rodzic
a288bf23dd
commit
fe397f8d48
|
@ -167,6 +167,7 @@ class Modes:
|
||||||
connection.close()
|
connection.close()
|
||||||
except sqlite3.Error as e:
|
except sqlite3.Error as e:
|
||||||
logging.exception(e)
|
logging.exception(e)
|
||||||
|
modes = self.basic # Revert to the basic built-in list.
|
||||||
return modes
|
return modes
|
||||||
|
|
||||||
def update(self, url):
|
def update(self, url):
|
||||||
|
|
Ładowanie…
Reference in New Issue