mirror of
https://github.com/soimort/you-get.git
synced 2025-02-11 20:52:31 +03:00
fix some logic issue
This commit is contained in:
parent
d03edeab37
commit
4db1dbba81
@ -1043,7 +1043,7 @@ def download_main(download, download_playlist, urls, playlist, **kwargs):
|
|||||||
|
|
||||||
def script_main(script_name, download, download_playlist, **kwargs):
|
def script_main(script_name, download, download_playlist, **kwargs):
|
||||||
def version():
|
def version():
|
||||||
log.i('version %s, a tiny downloader that scrapes the web.'
|
log.println('version %s, a tiny downloader that scrapes the web.'
|
||||||
% get_version(kwargs['repo_path']
|
% get_version(kwargs['repo_path']
|
||||||
if 'repo_path' in kwargs else __version__))
|
if 'repo_path' in kwargs else __version__))
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
################################################################################
|
################################################################################
|
||||||
Provide Color Support for all kinds of shell Stdio
|
Provide Color Support for all kinds of shell Stdin
|
||||||
main API :
|
main API :
|
||||||
color.color_dict
|
color.color_dict
|
||||||
color.print_map
|
color.print_map
|
||||||
|
Loading…
Reference in New Issue
Block a user