Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohitag403 authored Dec 27, 2023
1 parent c514fcb commit 50a6be3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@

logging.basicConfig(
level=logging.DEBUG,
format="%(
asctime)s - %(levelname)s - %(message)s [%(filename)s:%(lineno)d]",
format=
"%(asctime)s - %(levelname)s - %(message)s [%(filename)s:%(lineno)d]",
datefmt="%d-%b-%y %H:%M:%S",
handlers=[
RotatingFileHandler("Assist.txt", maxBytes=50000000, backupCount=10),
Expand All @@ -37,6 +37,7 @@
)
logging.getLogger("pyrogram").setLevel(logging.WARNING)


logging = logging.getLogger()

bot = Client(
Expand Down

0 comments on commit 50a6be3

Please sign in to comment.