Commits

kankri  committed 2b55a93

Remove unnecessary unicode()

  • Participants
  • Parent commits 9af34ad

Comments (0)

Files changed (1)

File plugins/pygo-y.py

 	buffer = (c_wchar * buffer_max_len)()
 	length = GetWindowTextW(hwnd, byref(buffer), buffer_max_len)
 	if length>0:
-		return unicode(buffer.value)
+		return buffer.value
 	else:
 		return u''