From 97705834fd716ec9a63e86352e3fe6807945aae1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Bastian?= Date: Mon, 16 Oct 2017 19:54:45 +0200 Subject: [PATCH] API client: add default host --- api/client/apiclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/client/apiclient.py b/api/client/apiclient.py index 95e7af9..fa8825e 100644 --- a/api/client/apiclient.py +++ b/api/client/apiclient.py @@ -118,7 +118,7 @@ def setup_argparse(): parser.add_argument('--creds', help=("Fichier contenant le token API à utiliser " "(par défaut, `{}`)".format(TOKEN_DFT_FILE))) - parser.set_defaults(creds=TOKEN_DFT_FILE) + parser.set_defaults(creds=TOKEN_DFT_FILE, host=DFT_HOST) subparsers = parser.add_subparsers() parser_publish = subparsers.add_parser('publier',