diff libervia/backend/plugins/plugin_misc_ip.py @ 4270:0d7bb4df2343

Reformatted code base using black.
author Goffi <goffi@goffi.org>
date Wed, 19 Jun 2024 18:44:57 +0200
parents b86912d3fd33
children
line wrap: on
line diff
--- a/libervia/backend/plugins/plugin_misc_ip.py	Tue Jun 18 12:06:45 2024 +0200
+++ b/libervia/backend/plugins/plugin_misc_ip.py	Wed Jun 19 18:44:57 2024 +0200
@@ -58,9 +58,7 @@
 }
 
 # 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 @@
 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"