Skip to content

Commit

Permalink
Fix flake issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ldeluigi committed Mar 11, 2023
1 parent d25fe66 commit 9e38b15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/spellbook/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class TemplateViewSet(viewsets.ReadOnlyModelViewSet):

class DeckListParser(parsers.BaseParser):
media_type = 'text/plain'

def __init__(self):
self.cards_dict = {c.name.lower(): c for c in Card.objects.all()}

Expand Down Expand Up @@ -90,4 +91,4 @@ def find_my_combos(request: Request) -> Response:
'included': included_variants,
'almost_included': almost_included_variants,
'almost_included_by_adding_colors': almost_included_variants_by_adding_colors,
})
})

0 comments on commit 9e38b15

Please sign in to comment.