Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ytcc/updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def validate_processing_result(processed, title, url) -> str:
if not url:
return "the video url is missing"

if processed.get("age_limit", 0) > config.ytcc.age_limit:
if (processed.get("age_limit") or 0) > config.ytcc.age_limit:
return "the video is age restricted"

if processed.get("is_live", False) and config.ytcc.skip_live_stream:
Expand Down