Content-Length: 314523 | pFad | http://github.com/tgbot-collection/SearchGram/commit/f5c66e06ee91866f71272d0f206f71936338e9e9

7C change struc · tgbot-collection/SearchGram@f5c66e0 · GitHub
Skip to content

Commit

Permalink
change struc
Browse files Browse the repository at this point in the history
  • Loading branch information
BennyThink committed Nov 18, 2023
1 parent 599e46f commit f5c66e0
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
5 changes: 5 additions & 0 deletions searchgram/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env python3
# coding: utf-8

# SearchGram - __init__.py
# 2023-11-18 16:26
3 changes: 1 addition & 2 deletions searchgram/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,12 @@

import argparse
import logging
import time

from pyrogram import Client, enums, filters, types
from pyrogram.types import InlineKeyboardButton, InlineKeyboardMarkup

from config import OWNER_ID, TOKEN
from engine import SearchEngine
from meili import SearchEngine
from init_client import get_client
from utils import setup_logger

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

from config import BOT_ID
from engine import SearchEngine
from meili import SearchEngine
from init_client import get_client
from utils import setup_logger

Expand Down
2 changes: 1 addition & 1 deletion searchgram/engine.py → searchgram/meili.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

import meilisearch

from config import MEILI_HOST, MEILI_PASS
from utils import setup_logger, sizeof_fmt
from config import MEILI_HOST, MEILI_PASS

setup_logger()
config = configparser.ConfigParser(allow_no_value=True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from tqdm import tqdm

from engine import SearchEngine
from ..meili import SearchEngine

logging.basicConfig(level=logging.INFO)
s = SearchEngine()
Expand Down

0 comments on commit f5c66e0

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/tgbot-collection/SearchGram/commit/f5c66e06ee91866f71272d0f206f71936338e9e9

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy