Fix url where to fetch the job resulst
[ais.git] / bin / jobrunner.py
index 5bc78d9285b88df0d3d3d70da5e043c11fe6388d..d9a62f8148866bc143009302e8ea0b3903489438 100755 (executable)
@@ -158,7 +158,7 @@ def runjob():
             if not email:
                 logging.error("Can't find email of user %s", user_id)
             else:
-                sendmail(fromaddr=NOTIFICATION_EMAIL, toaddr=email, subject='Job complete', message='Your job is complete. You can download it at %sjob/' % AIS_BASE_URL)
+                sendmail(fromaddr=NOTIFICATION_EMAIL, toaddr=email, subject='Job complete', message='Your job is complete. You can download it at %s/job/' % AIS_BASE_URL)
         # else SMS...
 
     return True