mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Fix db.py imports
This commit is contained in:
parent
9c537480a5
commit
6df65c0f3e
1 changed files with 6 additions and 6 deletions
12
db.py
12
db.py
|
@ -1,7 +1,6 @@
|
|||
import datetime
|
||||
import logging
|
||||
import os
|
||||
import typing
|
||||
import coloredlogs
|
||||
from sqlalchemy.ext.declarative import declarative_base
|
||||
from sqlalchemy.orm import sessionmaker, relationship
|
||||
|
@ -14,17 +13,18 @@ import errors
|
|||
from errors import NotFoundError, AlreadyExistingError, PrivateError
|
||||
import re
|
||||
import enum
|
||||
# Both packages have different pip names
|
||||
# noinspection PyPackageRequirements
|
||||
# from discord import User as DiscordUser
|
||||
# noinspection PyPackageRequirements
|
||||
from telegram import User as TelegramUser
|
||||
import loldata
|
||||
from dirty import Dirty, DirtyDelta
|
||||
import sql_queries
|
||||
from flask import escape
|
||||
import libgravatar
|
||||
import configparser
|
||||
import typing
|
||||
if typing.TYPE_CHECKING:
|
||||
# noinspection PyPackageRequirements
|
||||
from discord import User as DiscordUser
|
||||
# noinspection PyPackageRequirements
|
||||
from telegram import User as TelegramUser
|
||||
|
||||
# Init the config reader
|
||||
config = configparser.ConfigParser()
|
||||
|
|
Loading…
Reference in a new issue