Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
nclsbayona authored Sep 13, 2023
1 parent 03e3e23 commit 8196963
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,9 @@ async def getAffirmation() -> Dict[str, str]:
"affirmation_image"
] = "https://cdn.dribbble.com/users/2110632/screenshots/5607696/dribbble-03_2x.png"
elif translate_to == "huttese":
new_dictionary["affirmation_image"] = "https://static.memrise.com/img/400sqf/from/uploads/course_photos/6265139000150814054627.jpeg"
new_dictionary[
"affirmation_image"
] = "https://static.memrise.com/img/400sqf/from/uploads/course_photos/6265139000150814054627.jpeg"

return new_dictionary

Expand Down Expand Up @@ -273,7 +275,7 @@ async def updateFile(
)
print("The dictionary\n", dictionary)

with (open(path_to_template_file, "r")) as template_file:
with open(path_to_template_file, "r") as template_file:
new_readme = render(template_file, dictionary)

committer = InputGitAuthor(
Expand Down

0 comments on commit 8196963

Please sign in to comment.