Skip to content

Commit

Permalink
fix: change bag
Browse files Browse the repository at this point in the history
  • Loading branch information
RustamovAkrom committed Oct 29, 2024
1 parent 79ee105 commit 66473f3
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions app/routes/site.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,11 @@ def uplod_file():
@htmx_route()
def index():
resume_data = Resume.query.first()
about_avatar_url = About.query.first()
about_data = About.query.first()

if about_avatar_url:
about_avatar_url = about_avatar_url
else:
about_avatar_url = None
about_avatar_url = None
if about_data:
about_avatar_url = about_data.acatar

context = {
"template_name": "site/index.html",
Expand Down

0 comments on commit 66473f3

Please sign in to comment.