diff --git a/Code/Mantid/Framework/PythonInterface/plugins/algorithms/ExportVulcanSampleLogs.py b/Code/Mantid/Framework/PythonInterface/plugins/algorithms/ExportVulcanSampleLogs.py index a65a18c3a535..3154e4988329 100644 --- a/Code/Mantid/Framework/PythonInterface/plugins/algorithms/ExportVulcanSampleLogs.py +++ b/Code/Mantid/Framework/PythonInterface/plugins/algorithms/ExportVulcanSampleLogs.py @@ -202,7 +202,7 @@ def _readSampleLogs(self): tmplength = len(logtimesdict[self._sampleloglist[i]]) if loglength != tmplength: if loglength != sys.maxint: - self.log().warning("Log %s has different length from previous ones. " % (lognames[i])) + self.log().warning("Log %s has different length from previous ones. " % (self._sampleloglist[i])) loglength = min(loglength, tmplength) # ENDIF # ENDIF