Merge branch 'develop' into asyncio-dev · stack-queue/pyrogram@e96a74f · GitHub
Skip to content

Commit e96a74f

Browse files
committed
Merge branch 'develop' into asyncio-dev
2 parents 8612eaf + 82e0087 commit e96a74f

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

docs/source/faq.rst

Lines changed: 2 additions & 2 deletions

docs/source/intro/setup.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ Configuration
2929
Having the API key from the previous step in handy, we can now begin to configure a Pyrogram project.
3030
There are two ways to do so, and you can choose what fits better for you:
3131

32-
- First option (recommended): create a new ``config.ini`` file at the root of your working directory, copy-paste the
33-
following and replace the **api_id** and **api_hash** values with your own. This is the preferred method because
34-
allows you to keep your credentials out of your code without having to deal with how to load them:
32+
- First option (recommended): create a new ``config.ini`` file next to your main script, copy-paste the following and
33+
replace the **api_id** and **api_hash** values with your own. This is the preferred method because allows you to
34+
keep your credentials out of your code without having to deal with how to load them:
3535

3636
.. code-block:: ini
3737

pyrogram/client/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ class Client(Methods, BaseClient):
153153
154154
workdir (``str``, *optional*):
155155
Define a custom working directory. The working directory is the location in your filesystem
156-
where Pyrogram will store your session files. Defaults to "." (current directory).
156+
where Pyrogram will store your session files. Defaults to the parent directory of the main script.
157157
158158
config_file (``str``, *optional*):
159159
Path of the configuration file. Defaults to ./config.ini

pyrogram/client/types/inline_mode/inline_query_result.py

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)