Skip to content

Commit

Permalink
Fixed authentication issue on Monterey
Browse files Browse the repository at this point in the history
  • Loading branch information
westerlind committed Aug 5, 2021
1 parent a44e3dd commit 13033e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion raindrop_authserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def do_GET(self):
# We got the code, so we use that to request a token from Raindrop, which we use a PHP script to do
# because of issues with SSL root certificates in some versions of Python on macOS,
# which makes this unreliable to do in Python if we should keep this thing small and simple but still safe.
token_result = os.popen("/usr/bin/php raindrop-get-token.php '" + code.replace("'", "'\\''") + "'").read()
token_result = os.popen("php raindrop-get-token.php '" + code.replace("'", "'\\''") + "'").read()
if token_result == "success":
# If we succeeded in getting the token, display information about the authentication being successful
self.path = "/auth_info.html"
Expand Down

0 comments on commit 13033e6

Please sign in to comment.