修改已知bug

pull/5/head
youngS 4 years ago
parent d8f16e04c4
commit 0c11effbe6
  1. 2
      fir_ser/api/utils/TokenManager.py

@ -41,7 +41,7 @@ class DownloadToken(object):
def verify_token(self, token, release_id):
try:
values = cache.get(token)
if values and release_id in values.get("data", None):
if values and release_id == values.get("data", None):
logger.debug("verify_token token:%s release_id:%s success" % (token, release_id))
return True
except Exception as e:

Loading…
Cancel
Save