feeds/update.py: fix sources which have null description

This commit is contained in:
2024-09-10 20:30:29 +00:00
parent e7f54cda6b
commit 1c3c7f599f

View File

@@ -36,7 +36,7 @@ def clean_item(item: dict) -> dict:
"url", # used by <hosts/common/feeds.nix> (and many others)
"velocity", # used by <hosts/common/feeds.nix>
# "version",
]
] and item[k] is not None
}
# clean up characters for better printability
for k in "title", "site_name", "description":