increase coverage

This commit is contained in:
Akash Mahanty
2021-01-04 01:54:40 +05:30
parent bd079978bf
commit 0c6107e675
3 changed files with 117 additions and 6 deletions

View File

@@ -305,8 +305,7 @@ def parse_args(argv):
def main(argv=None):
if argv is None:
argv = sys.argv
argv = sys.argv if argv is None else argv
print(args_handler(parse_args(argv)))

View File

@@ -57,7 +57,7 @@ def _archive_url_parser(header, url):
"If '%s' can be accessed via your web browser then either "
"this version of waybackpy (%s) is out of date or WayBack Machine is malfunctioning. Visit "
"'https://github.com/akamhy/waybackpy' for the latest version "
"of waybackpy.\nHeader:\n%s" % (__version__, str(header))
"of waybackpy.\nHeader:\n%s" % (url, __version__, str(header))
)