mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-09 00:14:50 +00:00
Temporarily remove the debug feature
This commit is contained in:
parent
02ec86f4b2
commit
58952a7d98
1 changed files with 0 additions and 9 deletions
|
|
@ -316,15 +316,6 @@ class Client:
|
||||||
if self.is_started:
|
if self.is_started:
|
||||||
raise ConnectionError("Client has already been started")
|
raise ConnectionError("Client has already been started")
|
||||||
|
|
||||||
logging.basicConfig(
|
|
||||||
format=LOG_FORMAT,
|
|
||||||
datefmt="%Y-%m-%d %H:%M:%S",
|
|
||||||
stream=sys.stdout
|
|
||||||
)
|
|
||||||
|
|
||||||
if debug:
|
|
||||||
logging.getLogger().setLevel(logging.INFO)
|
|
||||||
|
|
||||||
if self.BOT_TOKEN_RE.match(self.session_name):
|
if self.BOT_TOKEN_RE.match(self.session_name):
|
||||||
self.token = self.session_name
|
self.token = self.session_name
|
||||||
self.session_name = self.session_name.split(":")[0]
|
self.session_name = self.session_name.split(":")[0]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue