Commit 95482dab authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

must be int, needs better handling

parent 8f984bae
......@@ -739,7 +739,10 @@ class project_membership_list(_astakos_init, _optional_json):
def _run(self):
self._print(self.client.get_memberships(self.token, self['project']))
project = self['project']
if project is not None:
project = int(project)
self._print(self.client.get_memberships(self.token, project))
def main(self):
super(self.__class__, 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