Skip to content

Commit

Permalink
sort them
Browse files Browse the repository at this point in the history
  • Loading branch information
BennyThink committed Nov 18, 2023
1 parent 48605ca commit 185d05d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion searchgram/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
from pyrogram.types import InlineKeyboardButton, InlineKeyboardMarkup

from config import OWNER_ID, TOKEN
from searchgram import SearchEngine
from init_client import get_client
from searchgram import SearchEngine
from utils import setup_logger

tgdb = SearchEngine()
Expand Down
2 changes: 1 addition & 1 deletion searchgram/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
from pyrogram import Client, filters, types

from config import BOT_ID
from searchgram import SearchEngine
from init_client import get_client
from searchgram import SearchEngine
from utils import setup_logger

setup_logger()
Expand Down
4 changes: 2 additions & 2 deletions searchgram/meili.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
__author__ = "Benny <[email protected]>"

import logging
from engine import BasicSearchEngine

import meilisearch

from utils import sizeof_fmt
from config import MEILI_HOST, MEILI_PASS
from engine import BasicSearchEngine
from utils import sizeof_fmt


class SearchEngine(BasicSearchEngine):
Expand Down
3 changes: 1 addition & 2 deletions searchgram/mongo.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@
import zhconv

from config import MONGO_HOST
from utils import sizeof_fmt

from engine import BasicSearchEngine
from utils import sizeof_fmt


class SearchEngine(BasicSearchEngine):
Expand Down
3 changes: 2 additions & 1 deletion searchgram/zinc.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
# SearchGram - zinc.py
# 2023-11-18 18:04

from utils import sizeof_fmt
import zincsearch_sdk

from engine import BasicSearchEngine
from utils import sizeof_fmt


class SearchEngine(BasicSearchEngine):
Expand Down

0 comments on commit 185d05d

Please sign in to comment.