make additional options configurable with file (#36)

Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS
2022-02-02 16:09:25 +03:00
parent 51170975c7
commit 3965efef89
3 changed files with 49 additions and 32 deletions

View File

@@ -105,8 +105,12 @@ def main():
CONFIG = {
'server': 'https://paste.i2pd.xyz/',
'mirrors': None, # real example for paste.i2pd.xyz: 'http://privatebin.ygg/,http://privatebin.i2p/'
'mirrors': None,
'proxy': None,
'expire': None,
'burn': False,
'discus': False,
'format': None,
'short': False,
'short_api': None,
'short_url': None,
@@ -114,7 +118,8 @@ def main():
'short_pass': None,
'short_token': None,
'no_check_certificate': False,
'no_insecure_warning': False
'no_insecure_warning': False,
'compression': None
}
# Configuration preference order: