2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-28 12:57:52 +00:00

Fix config values not being available when not using config.ini file

This commit is contained in:
Dan 2018-09-19 17:30:23 +02:00
parent 08f6d0b865
commit 3a858e6a57

View File

@ -916,6 +916,8 @@ class Client(Methods, BaseClient):
option,
fallback=getattr(Client, option.upper())
))
else:
setattr(self, option, getattr(Client, option.upper()))
if self._proxy:
self._proxy["enabled"] = True