Load MySQL connection from config file.

This commit is contained in:
luxick
2018-02-28 21:49:02 +01:00
parent 2bc59cd8d2
commit 56ce7205c1
11 changed files with 407 additions and 271 deletions

View File

@@ -24,9 +24,9 @@ class Handlers(SeasonHandlers, BaseDataHandlers, DialogHandlers, DeathHandlers,
VictoryHandlers.__init__(self, app)
@staticmethod
def do_delete_event(*args):
def do_delete_event(*_):
""" Signal will be sent when app should close
:param args: Arguments to the delete event
:param _: Arguments to the delete event
"""
Gtk.main_quit()
@@ -35,4 +35,4 @@ class Handlers(SeasonHandlers, BaseDataHandlers, DialogHandlers, DeathHandlers,
@staticmethod
def do_delete_database(*_):
sql_func.drop_tables()
sql_func.create_tables()
sql_func.create_tables()