Ready for v2.6.4

This commit is contained in:
Choco
2023-06-03 12:45:33 +08:00
parent d1dce692fd
commit e6b3e21e6c
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ from io import BytesIO
root_dir = os.path.dirname(os.path.abspath(__file__))
install_pack_dir = os.path.join(root_dir, "Vocard.zip")
__version__ = "v2.6.3"
__version__ = "v2.6.4"
def checkVersion(withMsg = False):
resp = requests.get("https://api.github.com/repos/ChocoMeow/Vocard/releases/latest")

View File

@@ -114,7 +114,7 @@ def login_required(func):
if resp:
user = USERS[token] = User(resp)
else:
abort(401, description="Unauthorized")
return redirect(url_for('login'))
else:
user = USERS[token]