diff --git a/slsDetectorSoftware/slsDetector/slsDetector.cpp b/slsDetectorSoftware/slsDetector/slsDetector.cpp index 46b04c2fe..ed7c4e265 100644 --- a/slsDetectorSoftware/slsDetector/slsDetector.cpp +++ b/slsDetectorSoftware/slsDetector/slsDetector.cpp @@ -6431,13 +6431,14 @@ int slsDetector::programFPGA(string fname){ //#ifdef VERBOSE std::cout << "File has been converted to " << destfname << ". Sending it to /tftpboot" << std::endl; //#endif - string onlyfilename = destfname; - size_t foundSlash = onlyfilename.rfind('/'); - if(foundSlash != string::npos) - onlyfilename.erase(onlyfilename.begin(),onlyfilename.begin()+foundSlash+1); - cout<<"\nonly file name:"<