diff --git a/confluent_client/bin/nodemedia b/confluent_client/bin/nodemedia index 33bd072a..dd167694 100644 --- a/confluent_client/bin/nodemedia +++ b/confluent_client/bin/nodemedia @@ -64,7 +64,7 @@ def attach_media(noderange, media): global exitcode session = client.Command() resource = '/noderange/{0}/media/attach'.format(noderange) - for rsp in session.update(resource, {'url': media}): + for res in session.update(resource, {'url': media}): printerror(res) list_media(noderange, media)