projects
/
mlpccg-meta.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add new theme
[mlpccg-meta.git]
/
mlpccg
/
DeckList.py
diff --git
a/mlpccg/DeckList.py
b/mlpccg/DeckList.py
index
5ff46bf
..
ec57645
100644
(file)
--- a/
mlpccg/DeckList.py
+++ b/
mlpccg/DeckList.py
@@
-57,7
+57,7
@@
class DeckList:
def ponyhead_link(self):
cards = defaultdict(int)
for card in self.cards:
def ponyhead_link(self):
cards = defaultdict(int)
for card in self.cards:
- cards[card['id'].replace('f', 'F')] += 1
+ cards[card['id'].replace('
pf', 'PF').replace('
f', 'F')] += 1
cards = ['%sx%d' % (id, amount) for id, amount in cards.iteritems()]
cards = ['%sx%d' % (id, amount) for id, amount in cards.iteritems()]