diff --git a/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/QLRun.py b/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/QLRun.py
index 0390f21ef48754e050f0dccecc3a4c083b659da6..51a7070d2a21ff1cfee678ac2d7d8c570e6f0dac 100644
--- a/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/QLRun.py
+++ b/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/QLRun.py
@@ -131,7 +131,7 @@ class QLRun(PythonAlgorithm):
         self._save = self.getProperty('Save').value
         self._plot = self.getPropertyValue('Plot')
 
-    #pylint: disable=too-many-locals
+    #pylint: disable=too-many-locals,too-many-statements
     def PyExec(self):
         #from IndirectImport import run_f2py_compatibility_test, is_supported_f2py_platform
 
@@ -140,8 +140,7 @@ class QLRun(PythonAlgorithm):
         from IndirectBayes import (CalcErange, GetXYE, ReadNormFile,
                                    ReadWidthFile, QLAddSampleLogs, C2Fw,
                                    C2Se, QuasiPlot)
-        from IndirectCommon import (getDefaultWorkingDirectory, CheckXrange,
-                                    CheckAnalysers, getEfixed, GetThetaQ,
+        from IndirectCommon import (CheckXrange, CheckAnalysers, getEfixed, GetThetaQ,
                                     CheckHistZero, CheckHistSame)
 
         self.log().information('QLRun input')