feeds/update.py: fix sources which have null
description
This commit is contained in:
@@ -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":
|
||||
|
Reference in New Issue
Block a user