From 58cbec08f5d93feb54374cfa24733a1f0b2434f6 Mon Sep 17 00:00:00 2001 From: Adam Coddington Date: Sun, 5 Oct 2014 21:10:01 -0700 Subject: [PATCH] Properly send use only arguments following the first. --- pyicloud/cmdline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyicloud/cmdline.py b/pyicloud/cmdline.py index dc9fa42..c1c1bdd 100755 --- a/pyicloud/cmdline.py +++ b/pyicloud/cmdline.py @@ -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(