From 72c14e2b769b246e40b3ab8b699858ac2a145161 Mon Sep 17 00:00:00 2001 From: Levi <57452819+l3v11@users.noreply.github.com> Date: Sat, 29 Oct 2022 06:49:13 +0600 Subject: [PATCH] Fix name 'PyMongoError' is not defined --- bot/helper/ext_utils/database.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bot/helper/ext_utils/database.py b/bot/helper/ext_utils/database.py index 7e761ed6..013bec4c 100644 --- a/bot/helper/ext_utils/database.py +++ b/bot/helper/ext_utils/database.py @@ -1,4 +1,5 @@ from pymongo import MongoClient +from pymongo.errors import PyMongoError from bot import LOGGER, AUTHORIZED_USERS, DATABASE_URL