diff --git a/.gitignore b/.gitignore index 7fefd0e..38beae5 100644 --- a/.gitignore +++ b/.gitignore @@ -174,4 +174,5 @@ Thumbs.db *.swp *.swo *~ -**.wg0.conf \ No newline at end of file +**.wg0.conf +**.db \ No newline at end of file diff --git a/app/bot.py b/app/bot.py index 1e8e967..e259bfa 100644 --- a/app/bot.py +++ b/app/bot.py @@ -13,9 +13,9 @@ from telegram.ext import Application, ContextTypes # Импорты из наших модулей from config import * from database import init_db -from handlers import help_handler, unknown_command, callback_taken +from app.handlers import help_handler, unknown_command, callback_taken from conversations import * -from utils import main_menu_kb +from app.utils import main_menu_kb # Отключаем предупреждения PTB warnings.filterwarnings("ignore", category=UserWarning) diff --git a/app/handlers.py b/app/handlers.py index 6ef7574..c5a18be 100644 --- a/app/handlers.py +++ b/app/handlers.py @@ -8,7 +8,7 @@ from telegram import Update, ReplyKeyboardRemove from telegram.ext import ContextTypes, ConversationHandler, CallbackQueryHandler, MessageHandler, filters from config import * -from utils import * +from app.utils import * from database import get_db_connection logger = logging.getLogger(__name__) diff --git a/data/pills.db b/data/pills.db deleted file mode 100644 index 0c36d37..0000000 Binary files a/data/pills.db and /dev/null differ