Skip to content

Commit

Permalink
fix consistancy issue in tubeUp __init__
Browse files Browse the repository at this point in the history
  • Loading branch information
orkeilius committed Nov 13, 2024
1 parent f1ee70f commit ed39ad2
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tubeup/TubeUp.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __init__(self,
verbose=False,
dir_path='~/.tubeup',
ia_config_path=None,
output_template=None):
output_template='%(id)s.%(ext)s'):
"""
`tubeup` is a tool to archive YouTube by downloading the videos and
uploading it back to the archive.org.
Expand All @@ -45,10 +45,7 @@ def __init__(self,
self.verbose = verbose
self.ia_config_path = ia_config_path
self.logger = getLogger(__name__)
if output_template is None:
self.output_template = '%(id)s.%(ext)s'
else:
self.output_template = output_template
self.output_template = output_template

# Just print errors in quiet mode
if not self.verbose:
Expand Down

0 comments on commit ed39ad2

Please sign in to comment.