summaryrefslogtreecommitdiffstats
path: root/doc-publik/update-publik-doc-from-mallard.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc-publik/update-publik-doc-from-mallard.py')
-rw-r--r--doc-publik/update-publik-doc-from-mallard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc-publik/update-publik-doc-from-mallard.py b/doc-publik/update-publik-doc-from-mallard.py
index 2d9eff4..41b760e 100644
--- a/doc-publik/update-publik-doc-from-mallard.py
+++ b/doc-publik/update-publik-doc-from-mallard.py
@@ -5,7 +5,7 @@ import requests
from combo.data.models import TextCell
-for cell in TextCell.objects.filter(slug__startswith='mallard-'):
+for cell in TextCell.objects.filter(slug__startswith='mallard-', page__snapshot__isnull=True):
if not cell.slug.startswith('mallard-'):
continue
mallard_page = cell.slug.split('-', 1)[1]