mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-25 14:37:02 +01:00
Remove mysql specific utf config to discordbot utilities files
This commit is contained in:
parent
207e13b639
commit
8be753b0c3
@ -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()
|
||||||
|
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user