Fix fstring for sending the image link via API
I apparently cannot type
This commit is contained in:
parent
d715f3bd36
commit
524da29a38
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ def current_officers():
|
|||
continue # Broken reference, continue
|
||||
img = url_for('static', filename="img/officers/placeholder.png")
|
||||
if exists(f"acmsite/{current_app.config['UPLOAD_FOLDER']}/{u.username()}.png"):
|
||||
img = url_for("main.officer_images", username="f{u.username()}.png")
|
||||
img = url_for("main.officer_images", username=f"{u.username()}.png")
|
||||
officers_complete.append({
|
||||
"id": o.id,
|
||||
"position": o.position,
|
||||
|
|
Loading…
Add table
Reference in a new issue