# HG changeset patch # User Sebastien Jodogne # Date 1717591029 -7200 # Node ID 311835d686d9691532fbc16d02cfa5d246511090 # Parent c42b1c7eed9ec1bb94641bf6eeece54ad7eee7db typo diff -r c42b1c7eed9e -r 311835d686d9 Plugin/WadoRsRetrieveFrames.cpp --- a/Plugin/WadoRsRetrieveFrames.cpp Wed Jun 05 11:26:11 2024 +0200 +++ b/Plugin/WadoRsRetrieveFrames.cpp Wed Jun 05 14:37:09 2024 +0200 @@ -497,7 +497,7 @@ { if (!content.RestApiGet("/instances/" + orthancId + "/file?transcode=" + Orthanc::GetTransferSyntaxUid(targetSyntax), false)) { - throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError, "DICOMWeb: Unable to get transcoded file for for instance " + orthancId); + throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError, "DICOMWeb: Unable to get transcoded file for instance " + orthancId); } instance.reset(new OrthancPlugins::DicomInstance(content.GetData(), content.GetSize())); } @@ -505,7 +505,7 @@ { if (!content.RestApiGet("/instances/" + orthancId + "/file", false)) { - throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError, "DICOMWeb: Unable to get file for for instance " + orthancId); + throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError, "DICOMWeb: Unable to get file for instance " + orthancId); } instance.reset(new OrthancPlugins::DicomInstance(content.GetData(), content.GetSize())); @@ -560,4 +560,4 @@ void SetPluginCanDownloadTranscodedFile(bool enable) { pluginCanDownloadTranscodedFile = enable; -} \ No newline at end of file +}