Inital postgresql implementation (#46)

This commit is contained in:
Jeremy "EndenDragon" Zhang
2017-09-04 23:54:54 -07:00
committed by GitHub
parent 3a503c9bcb
commit aa9075f484
11 changed files with 54 additions and 54 deletions

View File

@ -84,7 +84,7 @@ class Titan(discord.Client):
)
try:
await self.database.connect(config["database-uri"] + "?charset=utf8mb4")
await self.database.connect(config["database-uri"])
self.database_connected = True
except Exception:
self.logger.error("Unable to connect to specified database!")