Moves cli conf options to __init__.py so it can be run standalone

This commit is contained in:
Sergi Delgado Segura
2019-07-10 12:30:06 +01:00
parent 88ae640417
commit d1c5b3dd6a
3 changed files with 11 additions and 4 deletions

View File

@@ -6,12 +6,11 @@ import logging
import requests
from sys import argv
from getopt import getopt, GetoptError
from conf import CLIENT_LOG_FILE
from hashlib import sha256
from binascii import unhexlify
from apps.cli.blob import Blob
from requests import ConnectTimeout, ConnectionError
from apps.cli import DEFAULT_PISA_API_SERVER, DEFAULT_PISA_API_PORT
from apps.cli import DEFAULT_PISA_API_SERVER, DEFAULT_PISA_API_PORT, CLIENT_LOG_FILE
from apps.cli.help import help_add_appointment, help_get_appointment