Properly send use only arguments following the first.

This commit is contained in:
Adam Coddington 2014-10-05 21:10:01 -07:00
parent 83f817b5c0
commit 58cbec08f5

View file

@ -33,7 +33,7 @@ def create_pickled_data(idevice, filename):
def main(args=None): def main(args=None):
if args is None: if args is None:
args = sys.argv args = sys.argv[1:]
""" Main Function """ """ Main Function """
parser = argparse.ArgumentParser( parser = argparse.ArgumentParser(