diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-04-15 15:52:27 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-04-15 15:52:27 +0300 |
commit | f3b1a5ee1f737ad5325dcc14cf7e0ac6f76d59d2 (patch) | |
tree | e1b18b5b89dff3d253afcb5e2c8fa61acb69aa11 /icktool | |
parent | ffc0cf5a24800d3ccf259c37f6d880da41a6ffe8 (diff) | |
download | ick2-f3b1a5ee1f737ad5325dcc14cf7e0ac6f76d59d2.tar.gz |
Fix: icktool should put resource name in URL name when updating
Diffstat (limited to 'icktool')
-rwxr-xr-x | icktool | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() |