This commit is contained in:
Kovid Goyal 2017-05-10 22:40:33 +05:30
parent f75d939672
commit 2a69f06810
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1061,7 +1061,7 @@ class Application(QApplication):
try:
if self.clipboard().ownsClipboard():
import ctypes
ctypes.WinDLL('ole32.dll').OleFlushClipboard()
ctypes.WinDLL(b'ole32.dll').OleFlushClipboard()
except Exception:
import traceback
traceback.print_exc()