Skip to content

Commit 7eae3d8

Browse files
penggrin12SpEcHiDe
authored andcommitted
Make methods.utilities.idle use a proper logger (KurimuzonAkuma/kurigram#162)
1 parent 77aad5d commit 7eae3d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyrogram/methods/utilities/idle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ async def main():
7272
task = None
7373

7474
def signal_handler(signum, __):
75-
logging.info(f"Stop signal received ({signals[signum]}). Exiting...")
75+
log.info(f"Stop signal received ({signals[signum]}). Exiting...")
7676
asyncio.get_event_loop().run_in_executor(None, task.cancel)
7777

7878
for s in (SIGINT, SIGTERM, SIGABRT):

0 commit comments

Comments
 (0)