Mercurial > hg > orthanc-stone
changeset 1960:40f8009ceb4e
added compatibility against release 1.10.1 of the DICOMweb plugin
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 27 Oct 2022 17:17:14 +0200 |
parents | 889892e51545 |
children | cbf54cd28d59 |
files | Applications/StoneWebViewer/Plugin/Plugin.cpp |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Applications/StoneWebViewer/Plugin/Plugin.cpp Thu Oct 27 17:09:28 2022 +0200 +++ b/Applications/StoneWebViewer/Plugin/Plugin.cpp Thu Oct 27 17:17:14 2022 +0200 @@ -65,7 +65,8 @@ { std::vector<std::string> tokens; Orthanc::Toolbox::TokenizeString(tokens, version, '.'); - if (tokens.size() != 2) + if (tokens.size() != 2 && + tokens.size() != 3) { throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError, "Bad version of the DICOMweb plugin: " + version);