Properly send use only arguments following the first.
This commit is contained in:
parent
83f817b5c0
commit
58cbec08f5
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ def create_pickled_data(idevice, filename):
|
|||
|
||||
def main(args=None):
|
||||
if args is None:
|
||||
args = sys.argv
|
||||
args = sys.argv[1:]
|
||||
|
||||
""" Main Function """
|
||||
parser = argparse.ArgumentParser(
|
||||
|
|
Loading…
Reference in a new issue