mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
f75d939672
commit
2a69f06810
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user