This commit is contained in:
Kovid Goyal 2013-01-23 08:38:35 +05:30
parent 993fdfa34e
commit 771856c83e

View File

@ -195,7 +195,7 @@ class PRST1(USBMS):
for i, row in enumerate(cursor): for i, row in enumerate(cursor):
try: try:
comp_date = int(os.path.getmtime(self.normalize_path(prefix + row[0])) * 1000); 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 # In case the db has incorrect path info
continue continue
device_date = int(row[1]); device_date = int(row[1]);