Skip to content

Commit cedd39a

Browse files
authored
Merge pull request #95 from GeekFunkLabs/channel-bug
Fix channel bug in bankfiles.py
2 parents 01d7592 + 825ed78 commit cedd39a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fluidpatcher/bankfiles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def __init__(self, **pars):
168168

169169
def add(self, addfunc):
170170
for type in self.type:
171-
for chan in self.chan:
171+
for chan in self.chan or [None]:
172172
addfunc(type, chan, **self.pars)
173173

174174
@staticmethod

0 commit comments

Comments
 (0)