mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-10 11:15:27 +00:00
Cast Paths to string: pathlib for older pythons doesn't properly work
This commit is contained in:
@@ -990,7 +990,7 @@ class Client(Methods, BaseClient):
|
||||
|
||||
def load_config(self):
|
||||
parser = ConfigParser()
|
||||
parser.read(self.config_file)
|
||||
parser.read(str(self.config_file))
|
||||
|
||||
if self.api_id and self.api_hash:
|
||||
pass
|
||||
|
Reference in New Issue
Block a user