mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
...
This commit is contained in:
parent
1c3e62f35b
commit
49d1fbad18
@ -21,7 +21,7 @@ from calibre.devices.mtp.base import MTPDeviceBase
|
||||
class ThreadingViolation(Exception):
|
||||
|
||||
def __init__(self):
|
||||
Exception.__init__('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