Skip to content

Commit ebb76c0

Browse files
fix : minor edit in local_ip function
1 parent 1a30082 commit ebb76c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

orangetool/orangetool_ip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def local_ip(debug=False):
4747
ip = socket.gethostbyname(socket.gethostname())
4848
if ip != "127.0.0.1":
4949
return ip
50-
elif platform.system() != "Windows":
50+
if platform.system() != "Windows":
5151
command = sub.Popen(["hostname",
5252
"-I"],
5353
stdout=sub.PIPE,

0 commit comments

Comments
 (0)