- commit
- 1a327fc5db4e43735006d7a6b647fcc34f8f3e68
- parent
- 558447f7bbe7d637433f92adddc57fd2452278f0
- Author
- Tobias Bengfort <tobias.bengfort@gmx.net>
- Date
- 2014-10-12 15:53
pep8
Diffstat
| M | laneya/client.py | 7 | ++----- |
1 files changed, 2 insertions, 5 deletions
diff --git a/laneya/client.py b/laneya/client.py
@@ -1,6 +1,4 @@1 -1 import sys2 -13 -1 from twisted.python import log-1 1 # from twisted.python import log 4 2 from twisted.internet.endpoints import TCP4ClientEndpoint 5 3 from twisted.internet import reactor 6 4 from twisted.internet import task @@ -8,7 +6,6 @@ from twisted.internet import task 8 6 from dirtywords import Screen 9 7 10 8 import protocol11 -1 import deferred as q12 9 13 10 screen = Screen(40, 60) 14 11 screen.border() @@ -52,7 +49,7 @@ def main(): 52 49 client = Client() 53 50 client.setup('testuser') 54 51 endpoint = TCP4ClientEndpoint(reactor, 'localhost', 5001)55 -1 d = endpoint.connect(client)-1 52 endpoint.connect(client) 56 53 57 54 mainloop = task.LoopingCall(client.mainloop) 58 55 mainloop.start(0.02)