Skip to content

Commit

Permalink
Update googleauth.py
Browse files Browse the repository at this point in the history
  • Loading branch information
TogiFerretFerret authored Jan 17, 2025
1 parent 1aac2ca commit b65eae0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bromine/googleauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ def seturl():
oauth_url = base64.b64decode(request.args.get('url')).decode("utf-8")
print(oauth_url)
print("Shutting down server...")
shutdown_server()
print("Redirecting to OAuth URL...")
return redirect(f"{CONFIG.lms_url}/seturl/{base64.b64encode(oauth_url.encode('utf-8')).decode('utf-8')}")

Expand Down Expand Up @@ -93,4 +92,4 @@ def goog_megaauth():
server_process = multiprocessing.Process(target=run_server)
server_process.start()
print("Server process started.")
return server_process
return server_process

0 comments on commit b65eae0

Please sign in to comment.