Skip to content

Commit

Permalink
Merge pull request #199 from isogeo/links
Browse files Browse the repository at this point in the history
Fix clean_kind_action_liability method from ApiLink module
  • Loading branch information
SimonSAMPERE committed Jan 11, 2021
2 parents a410027 + 2ee5a11 commit 14138af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions isogeo_pysdk/api/routes_link.py
Original file line number Diff line number Diff line change
Expand Up @@ -713,6 +713,9 @@ def clean_kind_action_liability(self, link_actions: tuple, link_kind: str) -> tu
if action in matrix_kind_actions.get(link_kind)
]

if not len(link_actions):
link_actions.append("other")

return tuple(link_actions)


Expand Down

0 comments on commit 14138af

Please sign in to comment.