Skip to content

Commit

Permalink
Remove unused import from installation.rst (#1648)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatron authored Jul 11, 2022
1 parent 9721efe commit 97a9165
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 97a9165

Please sign in to comment.