Skip to content

Commit

Permalink
Merge pull request #4978 from bcgov/dev-shiva-4077
Browse files Browse the repository at this point in the history
Remove print statements
  • Loading branch information
antsand authored Jan 5, 2024
2 parents 6d72783 + 1f922c7 commit 765e992
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,14 +276,11 @@ def __preparenotification(self, message, requesttype, notificationtype, userid,
notification.idnumber ='U-00' + str(foirequest['requestid'])
mutenotification = False

print("notificationtype", notificationtype)
# in notificationtype remove space and make lower case
notificationtype_format = notificationtype.replace(" ", "").lower()
print ("notificationtype_format", notificationtype_format)
if notificationtype_format not in notificationtypes_cache:
print('Notification type not found in enum.', notificationtype)
else:
print('Notification type found', notificationtype)
notification.notificationtypelabel = notificationtypes_cache[notificationtype_format]['notificationtypelabel']
notification.notificationtypeid = notificationtypes_cache[notificationtype_format]['notificationtypeid']
notification.axisnumber = foirequest["axisrequestid"]
Expand Down

0 comments on commit 765e992

Please sign in to comment.