From 771856c83e203734fdbde295b397ad5cbe359d91 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 23 Jan 2013 08:38:35 +0530 Subject: [PATCH] ... --- src/calibre/devices/prst1/driver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/devices/prst1/driver.py b/src/calibre/devices/prst1/driver.py index 7291d5dbcb..72533860d4 100644 --- a/src/calibre/devices/prst1/driver.py +++ b/src/calibre/devices/prst1/driver.py @@ -195,7 +195,7 @@ class PRST1(USBMS): for i, row in enumerate(cursor): try: comp_date = int(os.path.getmtime(self.normalize_path(prefix + row[0])) * 1000); - except (OSError, IOError): + except (OSError, IOError, TypeError): # In case the db has incorrect path info continue device_date = int(row[1]);