Index: sitescripts/management/bin/generateNotifications.py |
=================================================================== |
--- a/sitescripts/management/bin/generateNotifications.py |
+++ b/sitescripts/management/bin/generateNotifications.py |
@@ -24,6 +24,9 @@ |
def generate_notifications(path): |
notifications = load_notifications() |
+ # Ignoring notifications with variants here - we can only process those in a |
+ # URL handler. |
+ notifications = [x for x in notifications if "variants" in x] |
output = { |
"notifications": notifications, |
"version": time.strftime("%Y%m%d%H%M", time.gmtime()) |