Skip to content

Commit 3565f3a

Browse files
committed
BugFix: Cleaned bugs in -d option for Win7
1 parent b8a8fa9 commit 3565f3a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mbed_lstools/lstools_base.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -296,18 +296,18 @@ def scan_html_line_for_target_id(self, line):
296296
if m is not None:
297297
result = m.groups()[0]
298298
if self.DEBUG_FLAG:
299-
self.debug(self.get_mbed_htm_target_id.__name__, line.strip())
299+
self.debug(self.scan_html_line_for_target_id.__name__, line.strip())
300300
if self.DEBUG_FLAG:
301-
self.debug(self.get_mbed_htm_target_id.__name__, (mount_point, mbed_htm, m.groups(), result))
301+
self.debug(self.scan_html_line_for_target_id.__name__, (m.groups(), result))
302302
return result
303303
# Last resort, we can try to see if old mbed.htm format is there
304304
else:
305305
m = re.search('\?auth=([a-fA-F0-9]+)', line)
306306
if m is not None:
307307
result = m.groups()[0]
308308
if self.DEBUG_FLAG:
309-
self.debug(self.get_mbed_htm_target_id.__name__, line.strip())
309+
self.debug(self.scan_html_line_for_target_id.__name__, line.strip())
310310
if self.DEBUG_FLAG:
311-
self.debug(self.get_mbed_htm_target_id.__name__, (mount_point, mbed_htm, m.groups(), result))
311+
self.debug(self.scan_html_line_for_target_id.__name__, (m.groups(), result))
312312
return result
313313
return None

0 commit comments

Comments
 (0)