From d9829f55eafd642e6add36c2a5048dabf374424a Mon Sep 17 00:00:00 2001 From: Jerome Petazzoni Date: Thu, 24 Sep 2015 16:49:26 +0000 Subject: [PATCH] Fix typo --- unlink-services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unlink-services.py b/unlink-services.py index 7594032c..b9d3c79a 100755 --- a/unlink-services.py +++ b/unlink-services.py @@ -7,7 +7,7 @@ import yaml # - with 1 parameter, the same file will be used for in and out # - with 2 parameters, the 1st is the input, the 2nd the output input_file = sys.argv[1] -output_file = sys.argv[:1] +output_file = sys.argv[-1] stack = yaml.load(open(input_file))