From 46654fb7ec77c8d2db5f35c4a379ec9dadeb8b56 Mon Sep 17 00:00:00 2001 From: Nejc Zupan Date: Thu, 22 Aug 2013 17:15:38 +0200 Subject: [PATCH] When setting up dogapi you need to give the application key also --- src/dogapi/fab.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dogapi/fab.py b/src/dogapi/fab.py index 37b0fee..bb5aedb 100644 --- a/src/dogapi/fab.py +++ b/src/dogapi/fab.py @@ -9,9 +9,10 @@ MAX_ARGS_LEN = 256 -def setup(api_key): +def setup(api_key, application_key): global dog_http_api dog_http_api.api_key = api_key + dog_http_api.application_key = application_key def _human_duration(d): def pluralize(quantity, noun):