summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-07-03 11:12:59 +0300
committerLars Wirzenius <liw@liw.fi>2019-07-03 11:12:59 +0300
commit9e9bb03b1fabe9c8b6f70eed89e001c726a1d294 (patch)
treecb360383a29324fcf7f989b9f592251b5711602e
parentdf351c2661cd838e1b7de521f1fcd4f84acdf4a0 (diff)
downloadqvisqve-9e9bb03b1fabe9c8b6f70eed89e001c726a1d294.tar.gz
Fix: name of variable to fix GET command
-rwxr-xr-xqvisqvetool2
1 files changed, 1 insertions, 1 deletions
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: