Skip to content

Commit

Permalink
fix: add missing return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
oniboni committed Oct 13, 2023
1 parent 15ebda8 commit f848974
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kroki/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ def _kroki_url_get(

kroki_url = self._kroki_url_base(kroki_type)
log.debug(f"{kroki_url}/{kroki_data_param}?{kroki_query_param}")
KrokiResponse(image_url=f"{kroki_url}/{kroki_data_param}?{kroki_query_param}")
return KrokiResponse(
image_url=f"{kroki_url}/{kroki_data_param}?{kroki_query_param}"
)

def _kroki_post(
self,
Expand Down

0 comments on commit f848974

Please sign in to comment.