Commit 664ab9c5 authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

Merge commit '95482dab' into feature-astakos-bugs

parents 22187e4c 95482dab
......@@ -739,7 +739,10 @@ class project_membership_list(_astakos_init, _optional_json):
@errors.generic.all
@astakoserror
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