diff --git a/db.py b/db.py index 1620ec25..8c49ba9e 100644 --- a/db.py +++ b/db.py @@ -1,8 +1,7 @@ -import time import datetime from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker, relationship -from sqlalchemy import Column, BigInteger, Integer, String, Numeric, DateTime, ForeignKey, Float, Enum, create_engine, UniqueConstraint +from sqlalchemy import Column, BigInteger, Integer, String, DateTime, ForeignKey, Float, Enum, create_engine, UniqueConstraint import requests from errors import RequestError, NotFoundError, AlreadyExistingError import re diff --git a/telegrambot.py b/telegrambot.py index 554d4e91..fdd77508 100644 --- a/telegrambot.py +++ b/telegrambot.py @@ -4,7 +4,7 @@ import math import db import errors import stagismo -from telegram import Bot, Update, Message +from telegram import Bot, Update from telegram.ext import Updater, CommandHandler from discord import Status as DiscordStatus diff --git a/webserver.py b/webserver.py index ecc24d72..02d0680d 100644 --- a/webserver.py +++ b/webserver.py @@ -1,6 +1,5 @@ from flask import Flask, render_template from db import Session, Royal, Steam, RocketLeague, Dota, Osu, Overwatch, LeagueOfLegends, Diario, Telegram -from sqlalchemy.orm import joinedload app = Flask(__name__)