X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src2%2FcreaImageIOGimmick.cpp;h=cbe737d96f79846f2ba2523b8100af897055aed1;hb=cb539b100d38f3092d06430575f846c916235db4;hp=615f1f041f90b50a41886121d516a11c8df72dea;hpb=ba7f1d0d4f7c869500e011651763dbc021e147bf;p=creaImageIO.git diff --git a/src2/creaImageIOGimmick.cpp b/src2/creaImageIOGimmick.cpp index 615f1f0..cbe737d 100644 --- a/src2/creaImageIOGimmick.cpp +++ b/src2/creaImageIOGimmick.cpp @@ -66,8 +66,10 @@ namespace creaImageIO mSettings = new Settings(mCurrentDirectory); std::string dbpath = GetLocalDatabasePath(); + // Create or open local database std::string dpath= mCurrentDirectory + "/.gimmick/Shared/gimmick/" + mLocalDescpName; + boost::algorithm::replace_all( dpath, INVALID_FILE_SEPARATOR , VALID_FILE_SEPARATOR);