Skip to content

Commit

Permalink
Fix signature
Browse files Browse the repository at this point in the history
  • Loading branch information
jayqi committed Jul 19, 2024
1 parent 4268d83 commit 9f21c26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions huntsite/puzzles/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
]


def title_text_factory() -> str:
def title_text_factory(instance) -> str:
nb = random.randint(1, 3)
return " ".join(fake.words(nb=nb)).title()


def answer_text_factory() -> str:
def answer_text_factory(instance) -> str:
nb = random.randint(1, 2)
return " ".join(fake.words(nb=nb)).upper()

Expand Down

0 comments on commit 9f21c26

Please sign in to comment.