Skip to content

Commit

Permalink
Allow samples to be 1-based, FLTD-230
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniele Paganelli committed Nov 17, 2016
1 parent 87e23ce commit 4cadec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misura/canon/option/proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ def samples(self):
print 'no samples defined!'
return []
out = []
for i in range(n):
for i in range(n+1):
# Search direct child (instrument)
child = self.child('sample{}'.format(i))
if child:
Expand Down

0 comments on commit 4cadec7

Please sign in to comment.