Skip to content

Commit f7398c2

Browse files
committed
Fix error WindowInfo.windowName == NoneType when running unit tests on Windows
1 parent a529208 commit f7398c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/window_info.pyx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ cdef class WindowInfo:
7878

7979
def __init__(self, title=""):
8080
self.transparentPainting = False
81+
self.windowName = ""
8182
if title:
8283
self.windowName = title
8384

0 commit comments

Comments
 (0)