2
0
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:
Dan
2019-06-20 14:15:02 +02:00
parent 48197cb222
commit 9ebf2983fe
3 changed files with 4 additions and 4 deletions

View File

@@ -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