store session in the current dir
This commit is contained in:
parent
fee546d5e1
commit
36df1dd8b7
|
@ -3,7 +3,8 @@ import os
|
||||||
|
|
||||||
import click
|
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))
|
CONFIG_FILE = os.path.expanduser('{}/telegram-upload.json'.format(CONFIG_DIRECTORY))
|
||||||
SESSION_FILE = os.path.expanduser('{}/telegram-upload'.format(CONFIG_DIRECTORY))
|
SESSION_FILE = os.path.expanduser('{}/telegram-upload'.format(CONFIG_DIRECTORY))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue