diff --git a/src/WebAppDIRAC/WebApp/handler/JobLaunchpadHandler.py b/src/WebAppDIRAC/WebApp/handler/JobLaunchpadHandler.py index 2c7769dd..863547f7 100644 --- a/src/WebAppDIRAC/WebApp/handler/JobLaunchpadHandler.py +++ b/src/WebAppDIRAC/WebApp/handler/JobLaunchpadHandler.py @@ -1,4 +1,6 @@ +import os import pprint +import shutil import tempfile from DIRAC import gConfig, gLogger @@ -174,8 +176,6 @@ def web_jobSubmit(self): if len(store) > 0: # If there is a file(s) in sandbox clearFS = True - import shutil - import os storePath = tempfile.mkdtemp(prefix="DIRAC_") try: