1
Fork 0
mirror of https://github.com/Steffo99/greed.git synced 2024-11-21 13:34:18 +00:00

🔀 Merge #145: Remove unused imports

* removed unused imports and refactored imports

* Update .gitignore

* Update core.py

* Update worker.py
This commit is contained in:
Rashid Ali 2021-08-17 05:15:18 +05:00 committed by GitHub
parent 28967de9fb
commit ee86092c60
Signed by: github
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 10 deletions

2
.gitignore vendored
View file

@ -104,4 +104,4 @@ ENV/
config/config.ini config/config.ini
config/config.toml config/config.toml
*.sqlite *.sqlite
*.sqlite-journal *.sqlite-journal

View file

@ -1,11 +1,9 @@
import logging import logging
import os import os, sys
import sys
import threading import threading
import sqlalchemy import sqlalchemy
import sqlalchemy.ext.declarative as sed import sqlalchemy.ext.declarative as sed
import sqlalchemy.orm
import telegram import telegram
import database import database

View file

@ -5,7 +5,7 @@ import requests
import telegram import telegram
from sqlalchemy import Column, ForeignKey, UniqueConstraint from sqlalchemy import Column, ForeignKey, UniqueConstraint
from sqlalchemy import Integer, BigInteger, String, Text, LargeBinary, DateTime, Boolean from sqlalchemy import Integer, BigInteger, String, Text, LargeBinary, DateTime, Boolean
from sqlalchemy.ext.declarative import declarative_base, DeferredReflection from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import relationship, backref from sqlalchemy.orm import relationship, backref
import utils import utils

View file

@ -1,6 +1,5 @@
import logging import logging
import sys import sys, time
import time
import traceback import traceback
import telegram.error import telegram.error

View file

@ -1,9 +1,9 @@
import os
import sys
import datetime import datetime
import logging import logging
import os
import queue as queuem import queue as queuem
import re import re
import sys
import threading import threading
import traceback import traceback
import uuid import uuid
@ -11,7 +11,7 @@ from html import escape
from typing import * from typing import *
import requests import requests
import sqlalchemy.orm import sqlalchemy
import telegram import telegram
import database as db import database as db