Ticket #13487: patch-lib.py.diff

File patch-lib.py.diff, 377 bytes (added by dima@…, 16 years ago)
  • tidy/lib.py

    old new  
    2525for libname in ('cygtidy-0-99-0', 'libtidy', 'libtidy.so',
    2626                'libtidy-0.99.so.0', 'tidylib'):
    2727    try:
    28         thelib = getattr(ctypes.cdll, libname)
     28        thelib = getattr(ctypes.cdll, '__TIDYLIB__' )
    2929        break
    3030    except OSError:
    3131        pass