mirror of
https://github.com/Steffo99/greed.git
synced 2024-11-21 21:44:19 +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:
parent
28967de9fb
commit
ee86092c60
5 changed files with 7 additions and 10 deletions
4
core.py
4
core.py
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue