From 9e9bb03b1fabe9c8b6f70eed89e001c726a1d294 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 3 Jul 2019 11:12:59 +0300 Subject: Fix: name of variable to fix GET command --- qvisqvetool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qvisqvetool b/qvisqvetool index 8e319de..5ad6d56 100755 --- a/qvisqvetool +++ b/qvisqvetool @@ -184,7 +184,7 @@ class QvisqveTool(cliapp.Application): api, token = self.get_api() r = api.GET(token, args[0]) ct = r.headers['Content-Type'] - if ct == json_conent_type: + if ct == json_content_type: json.dump(r.json(), self.output, indent=4) self.output.write('\n') else: -- cgit v1.2.1