forked from OpenPDU/openpdu
FIX wrond indentation
This commit is contained in:
parent
0a507d0953
commit
9895fff59a
2
openpdu
2
openpdu
@ -310,7 +310,7 @@ for s in boardsConfigParser.sections():
|
|||||||
bType = boardsConfigParser.get(s, 'type')
|
bType = boardsConfigParser.get(s, 'type')
|
||||||
num = int(re.sub(r'^board','',s))
|
num = int(re.sub(r'^board','',s))
|
||||||
inverted = int('0' + boardsConfigParser.get(s, 'inverted')) == 1
|
inverted = int('0' + boardsConfigParser.get(s, 'inverted')) == 1
|
||||||
channels = int(boardsConfigParser.get(s, 'channels'))
|
channels = int(boardsConfigParser.get(s, 'channels'))
|
||||||
if bType=='gpio-out':
|
if bType=='gpio-out':
|
||||||
gpios = []
|
gpios = []
|
||||||
for g in range(0,channels):
|
for g in range(0,channels):
|
||||||
|
Loading…
Reference in New Issue
Block a user