Reformatted code base using black.
This commit is contained in:
parent
56319cbad3
commit
53fdaa9d09
1 changed files with 12604 additions and 8966 deletions
|
|
@ -58,9 +58,7 @@ PLUGIN_INFO = {
|
|||
}
|
||||
|
||||
# TODO: GET_IP_PAGE should be configurable in sat.conf
|
||||
GET_IP_PAGE = (
|
||||
"http://salut-a-toi.org/whereami/"
|
||||
) # This page must only return external IP of the requester
|
||||
GET_IP_PAGE = "http://salut-a-toi.org/whereami/" # This page must only return external IP of the requester
|
||||
GET_IP_LABEL = D_("Allow external get IP")
|
||||
GET_IP_CATEGORY = "General"
|
||||
GET_IP_NAME = "allow_get_ip"
|
||||
|
|
@ -75,7 +73,9 @@ IP address is an identifier to locate you on Internet (similar to a phone number
|
|||
Do you agree to do this request ?
|
||||
"""
|
||||
).format(
|
||||
page=GET_IP_PAGE, domain=urllib.parse.urlparse(GET_IP_PAGE).netloc, app_name=C.APP_NAME
|
||||
page=GET_IP_PAGE,
|
||||
domain=urllib.parse.urlparse(GET_IP_PAGE).netloc,
|
||||
app_name=C.APP_NAME,
|
||||
)
|
||||
NS_IP_CHECK = "urn:xmpp:sic:1"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue