mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-01-02 06:40:06 +01:00
commit
c060da0a80
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue