From 4f7976402a19f85a421d1997353a8c401fdc38f7 Mon Sep 17 00:00:00 2001 From: PeterLaemmle Date: Wed, 26 Oct 2016 15:40:54 +0200 Subject: [PATCH] Update Telegram.py Import telegram errors --- plugins/Telegram/Telegram.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/Telegram/Telegram.py b/plugins/Telegram/Telegram.py index e1e3ae4..c787405 100644 --- a/plugins/Telegram/Telegram.py +++ b/plugins/Telegram/Telegram.py @@ -12,6 +12,7 @@ Plugin to send FMS-, ZVEI- and POCSAG-messages via Telegram # import logging # Global logger import urllib, telegram, googlemaps +from telegram.error import (TelegramError, Unauthorized, BadRequest, NetworkError) from includes import globalVars # Global variables # Helper function, uncomment to use