mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
49d1fbad18
commit
9a110fb0d5
@ -21,7 +21,8 @@ from calibre.devices.mtp.base import MTPDeviceBase
|
||||
class ThreadingViolation(Exception):
|
||||
|
||||
def __init__(self):
|
||||
Exception.__init__(self, 'You cannot use the MTP driver from a thread other than the '
|
||||
Exception.__init__(self,
|
||||
'You cannot use the MTP driver from a thread other than the '
|
||||
' thread in which startup() was called')
|
||||
|
||||
def same_thread(func):
|
||||
|
Loading…
x
Reference in New Issue
Block a user