From 36df1dd8b75a8fd64b3952fe08e997d4e7f9f989 Mon Sep 17 00:00:00 2001 From: Jagrit Thapar Date: Tue, 17 Sep 2024 10:40:28 +0530 Subject: [PATCH] store session in the current dir --- config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config.py b/config.py index bcf951c..252f1d8 100644 --- a/config.py +++ b/config.py @@ -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))