mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-07 07:24:51 +00:00
Set log level to WARNING
This commit is contained in:
parent
9c9a034f66
commit
87bd61ecc2
1 changed files with 2 additions and 2 deletions
|
|
@ -773,7 +773,7 @@ class Client:
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
except FloodWait as e:
|
except FloodWait as e:
|
||||||
log.info("Get dialogs flood wait: {}".format(e.x))
|
log.warning("get_dialogs flood: waiting {} seconds".format(e.x))
|
||||||
time.sleep(e.x)
|
time.sleep(e.x)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
@ -2414,7 +2414,7 @@ class Client:
|
||||||
try:
|
try:
|
||||||
contacts = self.send(functions.contacts.GetContacts(_hash))
|
contacts = self.send(functions.contacts.GetContacts(_hash))
|
||||||
except FloodWait as e:
|
except FloodWait as e:
|
||||||
log.info("Get contacts flood wait: {}".format(e.x))
|
log.warning("get_contacts flood: waiting {} seconds".format(e.x))
|
||||||
time.sleep(e.x)
|
time.sleep(e.x)
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue