mirror of https://gitlab.com/bashrc2/epicyon
lower
parent
729ec9c965
commit
296ffdabed
|
|
@ -559,7 +559,7 @@ def _valid_podcast_entry(base_dir: str, key: str, entry: {}) -> bool:
|
||||||
print('WARN: podcast protocol is not a string ' +
|
print('WARN: podcast protocol is not a string ' +
|
||||||
str(entry))
|
str(entry))
|
||||||
return False
|
return False
|
||||||
if entry['protocol'].tolower() != 'activitypub':
|
if entry['protocol'].lower() != 'activitypub':
|
||||||
return False
|
return False
|
||||||
if entry.get('uri'):
|
if entry.get('uri'):
|
||||||
if not isinstance(entry['uri'], str):
|
if not isinstance(entry['uri'], str):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue