bug9873; fix Check & Repair for dbapi
This commit is contained in:
parent
ba7eff6e67
commit
1a6db46ffa
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user