Fix cdn expiration error
This commit is contained in:
parent
af8fd8a110
commit
fbc078ed1a
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue