From 97a916558d361e0b2d25f49bf087d07f9e3482ed Mon Sep 17 00:00:00 2001 From: jonatron Date: Mon, 11 Jul 2022 17:34:30 +0100 Subject: [PATCH] Remove unused import from installation.rst (#1648) --- docs/installation.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/installation.rst b/docs/installation.rst index ad36fc2c8..d343849e4 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -138,7 +138,6 @@ option. If using Docker the following will set your ``INTERNAL_IPS`` correctly in Debug mode:: if DEBUG: - import os # only if you haven't already imported this import socket # only if you haven't already imported this hostname, _, ips = socket.gethostbyname_ex(socket.gethostname()) INTERNAL_IPS = [ip[: ip.rfind(".")] + ".1" for ip in ips] + ["127.0.0.1", "10.0.2.2"]