Skip to content

Commit f469c2d

Browse files
committed
fix pinmap file bug
1 parent dc9b621 commit f469c2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PAE.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
multiprocessing.freeze_support()
2222

23-
version = 'V1.12.23'
23+
version = 'V1.12.24'
2424

2525
class DemoClass(tk.Tk):
2626

@@ -336,7 +336,7 @@ def SayHello_MultProcess(self):
336336

337337
try:
338338
PinNameOri = PinName
339-
if PinMap != "":
339+
if len(PinMap) > 0:
340340
pinrounp_dict = read_pinmap(PinMap[0])
341341
if ("," not in PinName) and (PinName in pinrounp_dict.keys()):
342342
PinName = ",".join(pinrounp_dict[PinName])

0 commit comments

Comments
 (0)