Renamed logging module

This commit is contained in:
Profitroll 2023-01-17 11:43:10 +01:00
parent 569fffd223
commit b4a9595eb4
6 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@ from pyrogram import filters
from pyrogram.client import Client
from pyrogram.types import Message
from modules.app import app
from modules.logging import logWrite
from modules.logger import logWrite
from modules.utils import configGet, killProc, locale
@app.on_message(~ filters.scheduled & filters.command(["kill", "die", "reboot"], prefixes=["", "/"]))

View File

@ -2,7 +2,7 @@ from pyrogram import filters
from pyrogram.client import Client
from pyrogram.types import InlineKeyboardMarkup, InlineKeyboardButton, Message
from modules.utils import jsonLoad, configGet, locale
from modules.logging import logWrite
from modules.logger import logWrite
from modules.app import app
from modules.submissions import subLimited, subLimit

View File

@ -4,7 +4,7 @@ from shutil import move
from traceback import format_exc
from pyrogram.client import Client
from pyrogram.types import InlineKeyboardMarkup, InlineKeyboardButton
from modules.logging import logWrite
from modules.logger import logWrite
from modules.utils import jsonLoad, jsonSave, configGet, locale
async def send_content(app: Client):

View File

@ -10,7 +10,7 @@ from os import sep, kill
from os import name as osname
from traceback import print_exc
from modules.logging import logWrite
from modules.logger import logWrite
def jsonLoad(filename):
"""Loads arg1 as json and returns its contents"""

View File

@ -3,7 +3,7 @@ from shutil import move
from sys import exit
from argparse import ArgumentParser
from modules.logging import logWrite
from modules.logger import logWrite
from modules.scheduler import scheduler
from modules.utils import configGet, jsonLoad, jsonSave, killProc, locale