diff --git a/GUI.py b/GUI.py index 89afe37..c938b79 100644 --- a/GUI.py +++ b/GUI.py @@ -4,8 +4,7 @@ import wx.richtext as rt import start import threading import time -import NetworkManager -import PacketSenderManager +from networking import NetworkManager, PacketSenderManager import thread from threading import Lock diff --git a/NetworkManager.py b/networking/NetworkManager.py similarity index 99% rename from NetworkManager.py rename to networking/NetworkManager.py index c15175b..9bdc8c4 100644 --- a/NetworkManager.py +++ b/networking/NetworkManager.py @@ -113,7 +113,6 @@ class PacketListener(threading.Thread): print message.replace(u'\xa7', '&') elif(self.window): self.window.handleChat(message) - print message if(response[0] == "\x04"): PacketListenerManager.handle04(self.FileObject) if(response[0] == "\x05"): diff --git a/PacketListenerManager.py b/networking/PacketListenerManager.py similarity index 100% rename from PacketListenerManager.py rename to networking/PacketListenerManager.py diff --git a/PacketSenderManager.py b/networking/PacketSenderManager.py similarity index 100% rename from PacketSenderManager.py rename to networking/PacketSenderManager.py diff --git a/networking/__init__.py b/networking/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/start.py b/start.py index 45e49a1..8c3bddd 100644 --- a/start.py +++ b/start.py @@ -2,8 +2,7 @@ import urllib import urllib2 import getpass import sys -import PacketSenderManager -import NetworkManager +from networking import NetworkManager, PacketSenderManager import NoGUIstuff import time import threading