store session in the current dir

This commit is contained in:
Jagrit Thapar 2024-09-17 10:40:28 +05:30
parent fee546d5e1
commit 36df1dd8b7
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,8 @@ import os
import click
CONFIG_DIRECTORY = os.environ.get('TELEGRAM_UPLOAD_CONFIG_DIRECTORY', '~/.config')
# CONFIG_DIRECTORY = os.environ.get('TELEGRAM_UPLOAD_CONFIG_DIRECTORY', '~/.config')
CONFIG_DIRECTORY = "./"
CONFIG_FILE = os.path.expanduser('{}/telegram-upload.json'.format(CONFIG_DIRECTORY))
SESSION_FILE = os.path.expanduser('{}/telegram-upload'.format(CONFIG_DIRECTORY))