Python moment

This commit is contained in:
Casey 2023-03-19 20:09:43 +03:00
parent b789cc6015
commit 7f2e87523c
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,6 @@ from json import loads
from logging import getLogger from logging import getLogger
from typing import AsyncGenerator from typing import AsyncGenerator
from urllib.parse import urlencode from urllib.parse import urlencode
from mastoposter.types import Status from mastoposter.types import Status
logger = getLogger("sources") logger = getLogger("sources")
@ -32,6 +31,7 @@ async def websocket_source(
WebSocketException, WebSocketException,
TimeoutError, TimeoutError,
exceptions.TimeoutError, exceptions.TimeoutError,
ConnectionError,
) as e: ) as e:
if not reconnect: if not reconnect:
raise raise