This commit is contained in:
Kovid Goyal 2012-09-27 13:16:42 +05:30
parent c70556d3bc
commit 56ebb3670b

View File

@ -151,9 +151,9 @@ class MTP_DEVICE(MTPDeviceBase):
else: else:
self.known_devices = frozenset(self.libmtp.known_devices()) self.known_devices = frozenset(self.libmtp.known_devices())
for x in vars(self.libmtp): for x in vars(self.libmtp):
if x.startswith('LIBMTP'): if x.startswith('LIBMTP'):
setattr(self, x, getattr(self.libmtp, x)) setattr(self, x, getattr(self.libmtp, x))
@synchronous @synchronous
def shutdown(self): def shutdown(self):