mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #944534 (Will not connect to iTunes)
This commit is contained in:
parent
8dae598304
commit
75777c1685
@ -594,8 +594,9 @@ class ITUNES(DriverBase):
|
||||
iPad, as we have to return True if we can handle device interaction, or False if not.
|
||||
|
||||
'''
|
||||
import pythoncom
|
||||
|
||||
if self.iTunes:
|
||||
import pythoncom
|
||||
# We've previously run, so the user probably ejected the device
|
||||
try:
|
||||
pythoncom.CoInitialize()
|
||||
|
Loading…
x
Reference in New Issue
Block a user