Skip to content

Commit

Permalink
🧹 corrected formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
gy-mate committed Aug 24, 2024
1 parent b78e7b4 commit 30066ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "moodle-to-vikwikiquiz"
description = "A CLI for converting graded Moodle quiz HTMLs to a vik.wiki quiz wikitext"
readme = "README.md"
authors = [
{ name="Máté Gyöngyösi", email="[email protected]" },
{ name = "Máté Gyöngyösi", email = "[email protected]" },
]
version = "1.3.0"
classifiers = [
Expand Down
2 changes: 2 additions & 0 deletions src/moodle_to_vikwikiquiz/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ def main() -> None:
if upload_directory:
remove_uploaded_files(upload_directory)
clear_terminal()

print("Great! I've deleted the uploaded files from your disk.\n")
case StateOfIllustrations.YesButUnavailable:
wikitext_instructions += """
Expand All @@ -119,6 +120,7 @@ def main() -> None:
"preloadparams[]": wikitext_instructions,
}
clear_terminal()

create_article(
args, parameters_for_opening_edit, quiz_title, quiz_wikitext, wiki_domain
)
Expand Down
1 change: 0 additions & 1 deletion src/moodle_to_vikwikiquiz/quiz/quiz.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ def get_answers(
answer, answer_text, grade, maximum_points, correct_answers
)
answers_to_add.add(Answer(answer_text, is_correct, illustration))

i += 1
return answers_to_add, id_of_correct_answers, all_correct_answers_known

Expand Down

0 comments on commit 30066ed

Please sign in to comment.