Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
themrphantom committed Sep 8, 2022
1 parent 39eb498 commit 127d45d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions backend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ def get_links():
@app.route('/search/<string:search>', methods=["GET"])
def get_links_search(search):
global lecture_cache
if lecture_cache:
return util.build_response(lecture_cache)
else:
if not lecture_cache:
lecture_cache = wr.get_lectures()

lecture_with_ratio = []
Expand Down

0 comments on commit 127d45d

Please sign in to comment.