Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
7x11x13 committed Nov 15, 2023
1 parent e942a82 commit 33fbf9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion youtube_up/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def main():
video_parser.add_argument(
"--description", help="Description. Max length 5000", default=""
)
video_parser.add_argument("--privacy", help="Privacy", type=PrivacyEnum)
video_parser.add_argument("--privacy", help="Privacy", type=PrivacyEnum, default=PrivacyEnum.PRIVATE)
video_parser.add_argument(
"--made_for_kids",
help="Made for kids. If true comments will be disabled",
Expand Down
2 changes: 1 addition & 1 deletion youtube_up/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ class Metadata:
description: str = ""
"""Description. Max length 5000"""

privacy: Optional[PrivacyEnum] = PrivacyEnum.PRIVATE
privacy: PrivacyEnum = PrivacyEnum.PRIVATE
"""Privacy. Possible values: PUBLIC, UNLISTED, PRIVATE"""

made_for_kids: bool = False
Expand Down

0 comments on commit 33fbf9a

Please sign in to comment.