Skip to content

Commit b845544

Browse files
committed
Info log device and system parameters
1 parent f506387 commit b845544

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyrogram/session/session.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,9 @@ def start(self):
157157
self.ping_thread.start()
158158

159159
log.info("Session initialized: Layer {}".format(layer))
160+
log.info("Device: {} - {}".format(self.client.device_model, self.client.app_version))
161+
log.info("System: {} ({})".format(self.client.system_version, self.client.lang_code.upper()))
162+
160163
except AuthKeyDuplicated as e:
161164
self.stop()
162165
raise e

0 commit comments

Comments
 (0)