Skip to content

Commit

Permalink
Solve spelling mistake.
Browse files Browse the repository at this point in the history
There was a spelling mistake on line 113. "socker" should be "socket".
  • Loading branch information
mahbd authored and auvipy committed Oct 27, 2021
1 parent f899efb commit 703ab67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ option. This option allows you to specify a custom function for this purpose.
if DEBUG:
import os # only if you haven't already imported this
import socket # only if you haven't already imported this
hostname, _, ips = socker.gethostbyname_ex(socket.gethostname())
hostname, _, ips = socket.gethostbyname_ex(socket.gethostname())
INTERNAL_IPS = [ip[:-1] + '1' for ip in ips] + ['127.0.0.1', '10.0.2.2']


Expand Down

0 comments on commit 703ab67

Please sign in to comment.