1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-13 07:47:14 +03:00

[1805] Update Prototype

This commit is contained in:
David Sangrey 2024-07-22 13:48:45 -04:00
parent 5c5682d789
commit 759fc12dcb
No known key found for this signature in database
GPG Key ID: 3AEADBB0186884BC

View File

@ -296,7 +296,7 @@ if __name__ == '__main__': # noqa: C901
# class name limited to 256 - https://msdn.microsoft.com/en-us/library/windows/desktop/ms633576
cls = create_unicode_buffer(257)
# This conditional is exploded to make debugging slightly easier
if win32gui.GetClassName(window_handle, cls, 257):
if win32gui.GetClassName(window_handle):
if cls.value == 'TkTopLevel':
if window_title(window_handle) == applongname:
if GetProcessHandleFromHwnd(window_handle):