mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 21:07:59 +00:00
Fix config values not being available when not using config.ini file
This commit is contained in:
parent
08f6d0b865
commit
3a858e6a57
@ -916,6 +916,8 @@ class Client(Methods, BaseClient):
|
|||||||
option,
|
option,
|
||||||
fallback=getattr(Client, option.upper())
|
fallback=getattr(Client, option.upper())
|
||||||
))
|
))
|
||||||
|
else:
|
||||||
|
setattr(self, option, getattr(Client, option.upper()))
|
||||||
|
|
||||||
if self._proxy:
|
if self._proxy:
|
||||||
self._proxy["enabled"] = True
|
self._proxy["enabled"] = True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user