Load MySQL connection from config file.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user