bug9873; fix Check & Repair for dbapi

This commit is contained in:
prculley authored and Nick Hall committed 2017-01-09 21:35:21 +00:00
1 parent ba7eff6e67
commit 1a6db46ffa
1 file changed
+1 -1
+1 -1
View File
@@ -381,7 +381,7 @@ class CheckIntegrity:
error_count = 0
for bhandle in self.db.get_media_handles():
handle = bhandle.decode('utf-8')
data = self.db.media_map[bhandle]
data = self.db.get_raw_media_data(handle)
if not isinstance(data[2], str) or not isinstance(data[4], str):
obj = self.db.get_media_from_handle(handle)
if not isinstance(data[2], str):