Various fixes #7

Merged
hughrun merged 3 commits from fixes into main 2024-03-23 16:26:43 +11:00
Showing only changes of commit 920d8833c1 - Show all commits

View file

@ -14,6 +14,8 @@ from django.utils import timezone as django_timezone
from blogs import models from blogs import models
from django.forms.models import model_to_dict
agent = "AusGLAMR/1.0 +https://ausglamr.newcardigan.org" agent = "AusGLAMR/1.0 +https://ausglamr.newcardigan.org"
@ -165,7 +167,6 @@ class Command(BaseCommand):
newish = instance.pubdate > cutoff newish = instance.pubdate > cutoff
if newish: if newish:
instance.announce() instance.announce()
blog.set_success( blog.set_success(
updateddate=date_to_tz_aware(article.updated_parsed) updateddate=date_to_tz_aware(article.updated_parsed)
) )