This commit is contained in:
Kovid Goyal 2012-09-01 14:55:03 +05:30
parent 1c3e62f35b
commit 49d1fbad18

View File

@ -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):