diff --git a/python/tools.py b/python/tools.py
index 7e097bff0a8e9b309d420976bf8b18c31330f0d4..25529e73778a93aa9f52de620989ecdc7dbe1d44 100644
--- a/python/tools.py
+++ b/python/tools.py
@@ -482,16 +482,13 @@ def put_file_to_ecserver(ecd, filename, target, ecuid, ecgid):
 
     return
 
-def submit_job_to_ecserver(ecd, target, jobname):
+def submit_job_to_ecserver(target, jobname):
     '''
     @Description:
         Uses ecaccess to submit a job to the ECMWF server.
         Catches and prints the error if one arise.
 
     @Input:
-        ecd: string
-            The path were the file is to be stored.
-
         target: string
             The target where the file should be sent to, e.g. the queue.