Skip to content

Commit 7255f7a

Browse files
Batch file processing bug
1 parent da26ec4 commit 7255f7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PyDOS.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1186,7 +1186,7 @@ def setCondCmd(args,i,condResult):
11861186
batIndex = [0]
11871187
batLabels = {}
11881188
for batLine in BATfile:
1189-
if batline.strip() != "":
1189+
if batLine.strip() != "":
11901190
batIndex.append(batIndex[batLineNo]+len(batLine))
11911191
batLineNo += 1
11921192
if batLine.strip()[0] == ":" and len(batLine.strip().split(" ")[0]) > 1:

0 commit comments

Comments
 (0)