diff --git a/FlashCard.py b/FlashCard.py index 93b6bf352ca9ae86aba538c65345ec420e03336c..ce92187b633940bd21b8db4f15a266d52ccf1aee 100644 --- a/FlashCard.py +++ b/FlashCard.py @@ -3,9 +3,8 @@ from dataclasses import dataclass, asdict @dataclass class FlashCard: - def __init__(self, deckName, flashCardName, flashCardQuestion, flashCardAnswer): + def __init__(self, deckName, flashCardQuestion, flashCardAnswer): self.deckName = deckName - self.flashCardName = flashCardName self.flashCardQuestion = flashCardQuestion self.flashCardAnswer = flashCardAnswer diff --git a/README.md b/README.md index 77c1a3242fdb411c3ac9b3a23d6a7a8a9392316e..67f9eb1dceb5c2582405888b4ea73e1e09bb5c7d 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,6 @@ Here's an example of what the data might look like: "flashCards": [ { "deckName" : "Deck_1" - "flashCardName": "First Card", "flashCardQuestion": "This is the question", "flashCardAnswer": "This is the answer", }