Damien Elmes 2013-09-07 06:51:42 +09:00
parent 0bef1d8530
commit 20e4085c30

View File

@ -122,9 +122,9 @@ class Card(object):
else: else:
files[f] = 1 files[f] = 1
# update media counts if we're attached to deck # update media counts if we're attached to deck
if media: # if media:
for (f, cnt) in files.items(): # for (f, cnt) in files.items():
updateMediaCount(deck, f, cnt) # updateMediaCount(deck, f, cnt)
self.setModified() self.setModified()
def setModified(self): def setModified(self):