diff --git a/apps/third/king/k.py b/apps/third/king/k.py index 393c2eb6..837b8755 100644 --- a/apps/third/king/k.py +++ b/apps/third/king/k.py @@ -48,7 +48,6 @@ class KingClient(HandleLogMixin): cache.set('king_token', res['Authorization'], timeout=None) except Exception: cache.set('king_token', current_val, timeout=None) - cache.set('king_token', res['Authorization'], timeout=None) def request(self, url: str, method: str = 'post', params=dict(), json=dict(), timeout=20, raise_exception=True, need_auth=True): if not self.king_enabled: