Skip to content

Commit 07b8b37

Browse files
committed
fix in get_preview_file
1 parent 114ec06 commit 07b8b37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

orthanc_api_client/resources/series_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def get_preview_file(self, orthanc_id: str, jpeg_format: bool = False, return_un
5757
headers = { "Accept": "image/png"}
5858

5959
if return_unsupported_image:
60-
parameters = {"returnUnsupportedImage": True}
60+
parameters = {"returnUnsupportedImage": "true"}
6161
else:
6262
parameters = {}
6363
return self._api_client.get_binary(endpoint=url, headers=headers, params=parameters, allow_redirects=True)

0 commit comments

Comments
 (0)