mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
Merge pull request #2167 from alphagov/compare-to-uuid
compare service id to UUID
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
from uuid import UUID
|
||||||
import math
|
import math
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|
||||||
@@ -187,7 +188,7 @@ def process_virus_scan_passed(self, filename):
|
|||||||
new_pdf = _sanitise_precomiled_pdf(self, notification, old_pdf)
|
new_pdf = _sanitise_precomiled_pdf(self, notification, old_pdf)
|
||||||
|
|
||||||
# TODO: Remove this once CYSP update their template to not cross over the margins
|
# TODO: Remove this once CYSP update their template to not cross over the margins
|
||||||
if notification.service_id == 'fe44178f-3b45-4625-9f85-2264a36dd9ec': # CYSP
|
if notification.service_id == UUID('fe44178f-3b45-4625-9f85-2264a36dd9ec'): # CYSP
|
||||||
# Check your state pension submit letters with good addresses and notify tags, so just use their supplied pdf
|
# Check your state pension submit letters with good addresses and notify tags, so just use their supplied pdf
|
||||||
new_pdf = old_pdf
|
new_pdf = old_pdf
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user