mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-16 04:35:49 +00:00
🎨 Improve code quality
Unnecessary elif / else block after continue
This commit is contained in:
parent
7bca698c18
commit
6e3f7ce815
@ -131,8 +131,7 @@ class PublicCookiesService(BaseService):
|
||||
await self._repository.update(cookies)
|
||||
await self._cache.delete_public_cookies(cookies.user_id, region)
|
||||
continue
|
||||
else:
|
||||
raise exc
|
||||
raise exc
|
||||
except Exception as exc:
|
||||
await self._cache.delete_public_cookies(cookies.user_id, region)
|
||||
raise exc
|
||||
|
Loading…
Reference in New Issue
Block a user