From d9b7615843d911609a3ab9e2478b38e01e8b9203 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 2 Feb 2018 08:38:14 +0100 Subject: [PATCH] Remove not used imports --- db.py | 3 +-- telegrambot.py | 2 +- webserver.py | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) 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__)