aboutsummaryrefslogtreecommitdiff
path: root/start.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-08-05 22:41:38 +0100
committerGravatar jesopo2018-08-05 22:41:38 +0100
commitce05b98f61807293e3531534feea3de543e76413 (patch)
tree0b3d5d61b977c329bda606f837ef4a247ea5b838 /start.py
parentuse TimeRotatingFileHandler in logging.py (diff)
Moved table-specific logic to their own "table" classes in Database.py
Diffstat (limited to 'start.py')
-rwxr-xr-xstart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/start.py b/start.py
index 50a20728..58ec6585 100755
--- a/start.py
+++ b/start.py
@@ -25,7 +25,7 @@ bot.config_object = config_object
bot.args = args
bot.modules.load_modules()
-server_details = database.get_servers()
+server_details = database.servers.get_all()
servers = []
for server_detail in server_details:
server = bot.add_server(*server_detail)