freemyipod r809 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r808‎ | r809 | r810 >
Date:13:53, 21 November 2011
Author:user890104
Status:new
Tags:
Comment:
libipoddfu: fix copy/paste bug
Modified paths:
  • /tools/ipoddfu/libipoddfu.py (modified) (history)

Diff [purge]

Index: tools/ipoddfu/libipoddfu.py
@@ -73,6 +73,7 @@
7474 self.type = 2;
7575 print("Connected to iPod Classic 1G WTF mode, USB version %s" % self.dev.bcdDevice)
7676 return
 77+ except usb.core.USBError: pass
7778 try:
7879 self.dev = usb.core.find(idVendor=0x05ac, idProduct=0x1245)
7980 if self.dev and generation in [0, 12] and type in [0, 2]:
@@ -81,6 +82,7 @@
8283 self.type = 2;
8384 print("Connected to iPod Classic 2G WTF mode, USB version %s" % self.dev.bcdDevice)
8485 return
 86+ except usb.core.USBError: pass
8587 try:
8688 self.dev = usb.core.find(idVendor=0x05ac, idProduct=0x1247)
8789 if self.dev and generation in [0, 13] and type in [0, 2]: