Skip to content

Commit

Permalink
Merge pull request #110 from rest-for-physics/lobis-download
Browse files Browse the repository at this point in the history
Add option to PID prefix on downloads to avoid faults
  • Loading branch information
lobis authored Mar 11, 2024
2 parents 75c232b + 16a5fb4 commit 360f43a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TRestDetectorGas.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ string TRestDetectorGas::FindGasFile(string name) {
string absoluteName = "";

if (!fGasGeneration && fGasServer != "none") {
absoluteName = TRestTools::DownloadRemoteFile((string)fGasServer + "/" + name);
absoluteName = TRestTools::DownloadRemoteFile((string)fGasServer + "/" + name, true);
}

if (absoluteName == "") {
Expand Down

0 comments on commit 360f43a

Please sign in to comment.