mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-04-21 19:32:18 +00:00
update simple_jwt
This commit is contained in:
@@ -29,7 +29,12 @@ from datetime import datetime, timedelta
|
||||
from functools import wraps
|
||||
from pathlib import Path
|
||||
|
||||
import jwt
|
||||
# Try PyJWT first, fall back to our simple implementation (no cryptography dependency)
|
||||
try:
|
||||
import jwt
|
||||
except ImportError:
|
||||
import simple_jwt as jwt
|
||||
|
||||
import psutil
|
||||
from flask import Flask, jsonify, request, send_file, send_from_directory, Response
|
||||
from flask_cors import CORS
|
||||
|
||||
Reference in New Issue
Block a user