mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-03 05:23:45 +02:00
Fix #944534 (Will not connect to iTunes)
This commit is contained in:
parent
8dae598304
commit
75777c1685
1 changed files with 2 additions and 1 deletions
|
|
@ -594,8 +594,9 @@ def can_handle_windows(self, device_id, debug=False):
|
|||
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…
Reference in a new issue