Commit fe3b6bef authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

Handle _membership_action result as non-dict

parent 664ab9c5
......@@ -771,10 +771,8 @@ class _membership_action(_astakos_init, _optional_json):
@errors.generic.all
@astakoserror
def _run(self, memb_id, quote_a_reason):
self._print(
self.client.membership_action(
self.token, memb_id, self.action, quote_a_reason),
print_dict)
self._print(self.client.membership_action(
self.token, memb_id, self.action, quote_a_reason))
def main(self, membership_id, quote_a_reason=''):
super(_membership_action, self)._run()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment