From 66d01629c377b171c5261b9dca0ad90ee5686eed Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 3 Sep 2012 14:45:59 +0530 Subject: [PATCH] ... --- src/calibre/devices/mtp/driver.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/calibre/devices/mtp/driver.py b/src/calibre/devices/mtp/driver.py index 2706cba32c..8bc2481205 100644 --- a/src/calibre/devices/mtp/driver.py +++ b/src/calibre/devices/mtp/driver.py @@ -35,9 +35,12 @@ class MTP_DEVICE(BASE): FORMATS = ['epub', 'azw3', 'mobi', 'pdf'] DEVICE_PLUGBOARD_NAME = 'MTP_DEVICE' + def __init__(self, *args, **kwargs): + BASE.__init__(self, *args, **kwargs) + self.plugboards = self.plugboard_func = None + def open(self, devices, library_uuid): self.current_library_uuid = library_uuid - self.plugboards = self.plugboard_func = None BASE.open(self, devices, library_uuid) # Device information {{{