From 66038b0b301bcfd964b94b2916b10a4bd69b01c5 Mon Sep 17 00:00:00 2001 From: HgO Date: Sat, 20 Apr 2024 17:16:09 +0200 Subject: [PATCH] fix import for timeout exception --- matrix_alertbot/matrix.py | 1 + 1 file changed, 1 insertion(+) diff --git a/matrix_alertbot/matrix.py b/matrix_alertbot/matrix.py index 0d3daa0..1d75808 100644 --- a/matrix_alertbot/matrix.py +++ b/matrix_alertbot/matrix.py @@ -7,6 +7,7 @@ import os import random from typing import Dict, List, Optional, Tuple +from asyncio.exceptions import TimeoutError from aiohttp import ClientConnectionError, ServerDisconnectedError from diskcache import Cache from nio.client import AsyncClient, AsyncClientConfig