Merge pull request #315 from PeterLaemmle/develop

Update Telegram.py
This commit is contained in:
Bastian Schroll 2017-09-30 19:09:22 +02:00 committed by GitHub
commit c060da0a80
2 changed files with 4 additions and 1 deletions

View file

@ -3,6 +3,7 @@
### __[v2.2.2]__ - unreleased
##### Added
##### Changed
- Telegram Plugin importiert Google Maps Funktionen nur noch wenn API Key eingetragen ist [#315](https://github.com/Schrolli91/BOSWatch/pull/315)
##### Deprecated
##### Removed
##### Fixed

View file

@ -11,9 +11,11 @@ Plugin to send FMS-, ZVEI- and POCSAG-messages via Telegram
# Imports
#
import logging # Global logger
import urllib, telegram, googlemaps
import telegram
from telegram.error import (TelegramError, Unauthorized, BadRequest, NetworkError)
from includes import globalVars # Global variables
if globalVars.config.get("Telegram","RICforLocationAPIKey"):
import urllib, googlemaps
# Helper function, uncomment to use
from includes.helper import wildcardHandler