Player was getting None as a name string
class NetworkReceiver(Player,Network):
def __init__(self, colour, address=None):
- Player.__init__(self, address, colour)
+ Player.__init__(self, "NetworkReceiver", colour)
self.address = address
sys.exit(102)
# --- main.py --- #
-# EOF - created from make on Wed Mar 27 12:38:30 WST 2013
+# EOF - created from make on Wed Mar 27 12:42:42 WST 2013
class NetworkReceiver(Player,Network):
def __init__(self, colour, address=None):
- Player.__init__(self, address, colour)
+ Player.__init__(self, "NetworkReceiver", colour)
self.address = address