Skip to content

Commit

Permalink
Merge pull request #36 from ZeusWPI/web_interface
Browse files Browse the repository at this point in the history
fix: user was not given through
  • Loading branch information
tyboro2002 authored Dec 29, 2024
2 parents 4715920 + d71c806 commit 2f9ce6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion website/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,9 @@ def sync_all_files():
@app.route("/editor_selector")
@login_required
def editor_selector():
user = session.get('user', None)
scraper_info = get_scraper_info()
return render_template("editor_selector.html", scraper_info=scraper_info)
return render_template("editor_selector.html", scraper_info=scraper_info, user=user)


UPLOAD_FOLDER = 'hlds_files'
Expand Down

0 comments on commit 2f9ce6c

Please sign in to comment.