mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-10-29 18:00:15 +00:00
Use argparse special features to handle displaying version info (#486)
* Use argparse special features to handle displaying version info * Remove version argument check from spotdl.py
This commit is contained in:
@@ -49,10 +49,6 @@ def match_args():
|
||||
def main():
|
||||
const.args = handle.get_arguments()
|
||||
|
||||
if const.args.version:
|
||||
print("spotdl {version}".format(version=__version__))
|
||||
sys.exit()
|
||||
|
||||
internals.filter_path(const.args.folder)
|
||||
youtube_tools.set_api_key()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user