Mercurial > hg > orthanc-stone
diff Applications/StoneWebViewer/Plugin/Plugin.cpp @ 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 | a2955abe4c2e |
children | 07964689cb0b |
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);