Skip to content

Commit 360f43a

Browse files
authored
Merge pull request #110 from rest-for-physics/lobis-download
Add option to PID prefix on downloads to avoid faults
2 parents 75c232b + 16a5fb4 commit 360f43a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TRestDetectorGas.cxx

+1-1
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ string TRestDetectorGas::FindGasFile(string name) {
736736
string absoluteName = "";
737737

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

742742
if (absoluteName == "") {

0 commit comments

Comments
 (0)