Skip to content

Commit ad5c47e

Browse files
authored
Fix syntax that a pre-commit check was failing (#1480)
1 parent f97b59f commit ad5c47e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data_fixtures/migrations/0001_add_testimonial_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def load_fixtures(apps, schema_editor):
242242
Save the image from fixture so alternate sizes are generated
243243
"""
244244
with Path.open(
245-
f"{settings.BASE_DIR}/testimonials/fixtures/avatars/{fixture["attestant_name"]}.png",
245+
f"{settings.BASE_DIR}/testimonials/fixtures/avatars/{fixture['attestant_name']}.png",
246246
"rb",
247247
) as imagefile:
248248
testimonial.avatar.save("avatar.png", File(imagefile), save=True)

0 commit comments

Comments
 (0)