Fix cdn expiration error

This commit is contained in:
kokarare1212 2021-05-25 13:52:56 +09:00
parent af8fd8a110
commit fbc078ed1a
1 changed files with 2 additions and 2 deletions

View File

@ -157,8 +157,8 @@ class CdnManager:
except ValueError:
continue
if s[0][:i] == "exp":
expire_at = int(s[0][i + 1:])
if s[:i] == "exp":
expire_at = int(s[i + 1:])
break
if expire_at is None: