test.py: correct off-by-one in indexing array
This commit is contained in:
parent
af7e973cc0
commit
985daa3ad3
|
@ -44,4 +44,4 @@ def build_pptx(l, out):
|
|||
|
||||
prs.save(f"{out}.pptx")
|
||||
|
||||
build_pptx([(x,makeplot(x)) for x in sys.argv[2:len(sys.argv)-1]], sys.argv[len(sys.argv)-1])
|
||||
build_pptx([(x,makeplot(x)) for x in sys.argv[1:len(sys.argv)-1]], sys.argv[len(sys.argv)-1])
|
||||
|
|
Loading…
Reference in New Issue