2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-09-10 11:15:27 +00:00

Turn hardcoded plugins dir into a constant

This commit is contained in:
Dan
2018-10-12 14:19:26 +02:00
parent dfb841baa9
commit 0b79f96b4f
2 changed files with 2 additions and 1 deletions

View File

@@ -49,6 +49,7 @@ class BaseClient:
UPDATES_WORKERS = 1
DOWNLOAD_WORKERS = 1
OFFLINE_SLEEP = 300
PLUGINS_DIR = "./plugins"
MEDIA_TYPE_ID = {
0: "thumbnail",