Skip to content

Commit

Permalink
fix: user was not given through
Browse files Browse the repository at this point in the history
  • Loading branch information
tyboro2002 committed Dec 29, 2024
1 parent 72c2a0c commit d71c806
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 d71c806

Please sign in to comment.