We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 114ec06 commit 07b8b37Copy full SHA for 07b8b37
orthanc_api_client/resources/series_list.py
@@ -57,7 +57,7 @@ def get_preview_file(self, orthanc_id: str, jpeg_format: bool = False, return_un
57
headers = { "Accept": "image/png"}
58
59
if return_unsupported_image:
60
- parameters = {"returnUnsupportedImage": True}
+ parameters = {"returnUnsupportedImage": "true"}
61
else:
62
parameters = {}
63
return self._api_client.get_binary(endpoint=url, headers=headers, params=parameters, allow_redirects=True)
0 commit comments