From fa7b7d0ce353f6f66efd4da0ebd3b7bfa08714ee Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sun, 24 Jun 2018 19:09:22 +0200 Subject: [PATCH] Cleanup Client class --- pyrogram/client/client.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index 519823a0..366ab4b2 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -51,9 +51,6 @@ from .dispatcher import Dispatcher from .ext import utils, Syncer, BaseClient from .methods import Methods -# Custom format for nice looking log lines -LOG_FORMAT = "[%(asctime)s.%(msecs)03d] %(filename)s:%(lineno)s %(levelname)s: %(message)s" - log = logging.getLogger(__name__) @@ -316,6 +313,7 @@ class Client(Methods, BaseClient): Iterable containing signals the signal handler will listen to. Defaults to (SIGINT, SIGTERM, SIGABRT). """ + def signal_handler(*args): self.is_idle = False