Remove mysql specific utf config to discordbot utilities files

This commit is contained in:
Jeremy Zhang 2017-09-09 04:20:39 +00:00
parent 207e13b639
commit 8be753b0c3
2 changed files with 2 additions and 2 deletions

View File

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

View File

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