return number of changed facts in find&replace

This commit is contained in:
Damien Elmes 2009-02-14 01:11:27 +09:00
parent 8892ad9f90
commit 724c1354a8

View file

@ -1534,6 +1534,7 @@ where id = :id""", pending)
modded) modded)
self.updateCardQACacheFromIds([f['fid'] for f in modded], self.updateCardQACacheFromIds([f['fid'] for f in modded],
type="facts") type="facts")
return len(set([f['fid'] for f in modded]))
# Progress info # Progress info
########################################################################## ##########################################################################