From f3b1a5ee1f737ad5325dcc14cf7e0ac6f76d59d2 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 15 Apr 2018 15:52:27 +0300 Subject: Fix: icktool should put resource name in URL name when updating --- icktool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'icktool') diff --git a/icktool b/icktool index 5b073ac..b4cbc9d 100755 --- a/icktool +++ b/icktool @@ -157,7 +157,7 @@ class Icktool(cliapp.Application): except ick2.HttpError: if field in obj: obj_path = '{}/{}'.format(path, obj[field]) - api.update(path, obj) + api.update(obj_path, obj) def cmd_show(self, args): token = self._new_token() -- cgit v1.2.1