Fixed reference to global variable instead of input argument in parse_BoardFile

pull/12797/head
George Beckstein 2020-04-13 11:25:44 -04:00
parent bcd8ebb645
commit 81c3aef9fa
1 changed files with 1 additions and 1 deletions

View File

@ -1129,7 +1129,7 @@ PinLabel = {}
def parse_BoardFile(fileName):
print(" * Board file: '%s'" % (fileName))
board_file = open(board_file_name, "r")
board_file = open(fileName, "r")
# IOC_PIN_pattern = re.compile(r'(P[A-I][\d]*).*\.([\w]*)=(.*)')
IOC_PIN_pattern = re.compile(r'(.*)\.([\w]*)=(.*)')
for line in board_file.readlines():