Modifies ConfigParser so config file is passed as parameter (to be used by both teos and cli)

- Modifies ConfigParser
- Adapts __init__ and teosd at teos/
This commit is contained in:
Sergi Delgado Segura
2020-03-21 21:57:17 +01:00
parent d860c9bca6
commit 00a48ce6f5
5 changed files with 6 additions and 19 deletions

View File

@@ -1,14 +0,0 @@
# TEOS-SERVER
DEFAULT_TEOS_API_SERVER = "http://localhost"
DEFAULT_TEOS_API_PORT = 9814
# WT-CLI
DATA_FOLDER = "~/.teos_cli/"
CLIENT_LOG_FILE = "cli.log"
APPOINTMENTS_FOLDER_NAME = "appointment_receipts"
# KEYS
TEOS_PUBLIC_KEY = "teos_pk.der"
CLI_PRIVATE_KEY = "cli_sk.der"
CLI_PUBLIC_KEY = "cli_pk.der"