fix some logic issue

This commit is contained in:
minghu6 2016-05-28 23:08:05 +08:00
parent d03edeab37
commit 4db1dbba81
2 changed files with 2 additions and 2 deletions

View File

@ -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__))

View File

@ -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