Skip to content

Commit 7f624e4

Browse files
committed
Remove unused constant.
1 parent 2af2dab commit 7f624e4

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

chat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from client import Client, MY_IP
1+
from client import Client
22
import emoji
33
from terminal import Window, BOLD
44

client/__init__.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
"""
22
Package providing a simple chat client.
3-
4-
Constants:
5-
* MY_IP - IP address of this computer
6-
7-
Classes:
8-
* Client - a chat client
93
"""
104
from socket import gethostbyname, gethostname
115
from .reader import Reader
126
from .writer import _Writer
137
from .listener import Listener
148

15-
MY_IP = gethostbyname(gethostname()) # get our IP. Be careful if you have multiple network interfaces or IPs
16-
179
class Client:
1810
"""
1911
A simple chat client.

0 commit comments

Comments
 (0)