2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-30 13:57:54 +00:00

Merge branch 'develop' into plugins

# Conflicts:
#	pyrogram/client/client.py
#	pyrogram/client/ext/base_client.py
This commit is contained in:
Dan
2018-10-13 10:39:47 +02:00
2 changed files with 4 additions and 2 deletions

View File

@@ -162,8 +162,8 @@ class Client(Methods, BaseClient):
first_name: str = None,
last_name: str = None,
workers: int = 4,
workdir: str = ".",
config_file: str = "./config.ini",
workdir: str = BaseClient.WORKDIR,
config_file: str = BaseClient.CONFIG_FILE,
plugins_dir: str = BaseClient.PLUGINS_DIR):
super().__init__()

View File

@@ -49,6 +49,8 @@ class BaseClient:
UPDATES_WORKERS = 1
DOWNLOAD_WORKERS = 1
OFFLINE_SLEEP = 300
WORKDIR = "."
CONFIG_FILE = "./config.ini"
PLUGINS_DIR = "./plugins"
MEDIA_TYPE_ID = {