From 7f2e87523c8c0562e7b21c7f6c593ffa5f70e19c Mon Sep 17 00:00:00 2001 From: hkc Date: Sun, 19 Mar 2023 20:09:43 +0300 Subject: [PATCH] Python moment --- mastoposter/sources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastoposter/sources.py b/mastoposter/sources.py index 6334297..4f86ac8 100644 --- a/mastoposter/sources.py +++ b/mastoposter/sources.py @@ -3,7 +3,6 @@ from json import loads from logging import getLogger from typing import AsyncGenerator from urllib.parse import urlencode - from mastoposter.types import Status logger = getLogger("sources") @@ -32,6 +31,7 @@ async def websocket_source( WebSocketException, TimeoutError, exceptions.TimeoutError, + ConnectionError, ) as e: if not reconnect: raise