import print_function

This commit is contained in:
Akash
2020-07-21 20:47:55 +05:30
committed by GitHub
parent 5cb7bfbdd4
commit 18352d9bc7

View File

@@ -2,6 +2,9 @@
import argparse import argparse
from waybackpy.wrapper import Url from waybackpy.wrapper import Url
if sys.version_info < (3, 0): # If the python ver 2.xxx
from __future__ import print_function
def command_line(): def command_line():
parser = argparse.ArgumentParser() parser = argparse.ArgumentParser()
parser.add_argument("-u", "--url", help="URL on which Wayback machine operations would occur.") parser.add_argument("-u", "--url", help="URL on which Wayback machine operations would occur.")