#124 on Window in tools global name 'GetLastError' is not defined

closed-fixed
None
5
2012-08-16
2012-07-27
Anonymous
No

In file tools/list_ports_windows.py line 182:
is
if GetLastError() != ERROR_INSUFFICIENT_BUFFER:
should be
if ctypes.GetLastError() != ERROR_INSUFFICIENT_BUFFER:

Discussion

  • Chris Liechti

    Chris Liechti - 2012-08-16

    thanks, fix commited

     
  • Chris Liechti

    Chris Liechti - 2012-08-16
    • assigned_to: nobody --> cliechti
    • status: open --> closed-fixed
     

Log in to post a comment.