Mercurial > zrpn
changeset 76:f78833197559
added logging to main
| author | Rene Dudfield <renesd@gmail.com> |
|---|---|
| date | Sun, 08 Jul 2012 11:48:46 +0200 |
| parents | 5a09a3c0a13c |
| children | 4352dc6691e9 |
| files | zrpn/main.py |
| diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/zrpn/main.py Sun Jul 08 11:44:53 2012 +0200 +++ b/zrpn/main.py Sun Jul 08 11:48:46 2012 +0200 @@ -10,6 +10,8 @@ import board import display import client +import logging + screen = display.Display() @@ -44,6 +46,11 @@ Game(screen).run() def multi(self): + import pygame_network as net + net.event.init() + + logging.basicConfig(level=logging.DEBUG) + ip = menu["ip"].text ip = str(ip) client.Client(ip, 10000).run()
