Skip to content

Commit 5a397b4

Browse files
committed
Remove protocol to be read from settings
1 parent 15f441f commit 5a397b4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tasks/email.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def send_completion_notification(run):
1616
subject = u"Your OSM Export is ready: {}".format(run.job.name)
1717

1818
ctx = {
19-
'url': 'https://{0}/v3/exports/{1}'.format(settings.HOSTNAME, run.job.uid),
19+
'url': '{0}/v3/exports/{1}'.format(settings.HOSTNAME, run.job.uid),
2020
'status': run.status,
2121
}
2222

@@ -44,7 +44,7 @@ def send_hdx_completion_notification(run, region):
4444
'job': run.job,
4545
'region': region,
4646
'status': run.status,
47-
'url': 'https://{0}/v3/exports/{1}'.format(
47+
'url': '{0}/v3/exports/{1}'.format(
4848
settings.HOSTNAME, run.job.uid),
4949
}
5050

@@ -70,7 +70,7 @@ def send_hdx_error_notification(run, region):
7070
'job': run.job,
7171
'region': region,
7272
'status': run.status,
73-
'url': 'https://{0}/v3/exports/{1}'.format(
73+
'url': '{0}/v3/exports/{1}'.format(
7474
settings.HOSTNAME, run.job.uid),
7575
}
7676

@@ -92,7 +92,7 @@ def send_error_notification(run):
9292
subject = u"Your OSM Export has failed: {}".format(run.job.name)
9393

9494
ctx = {
95-
'url': 'https://{0}/v3/exports/{1}'.format(settings.HOSTNAME, run.job.uid),
95+
'url': '{0}/v3/exports/{1}'.format(settings.HOSTNAME, run.job.uid),
9696
'status': run.status,
9797
'task_id': run.uid,
9898
}

0 commit comments

Comments
 (0)