summaryrefslogtreecommitdiff
path: root/server/piztor_server.py
diff options
context:
space:
mode:
Diffstat (limited to 'server/piztor_server.py')
-rw-r--r--server/piztor_server.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/server/piztor_server.py b/server/piztor_server.py
index 603c27c..514f95f 100644
--- a/server/piztor_server.py
+++ b/server/piztor_server.py
@@ -168,8 +168,9 @@ class PiztorServer():
class GenericHandler(SocketServer.StreamRequestHandler):
def handle(self):
+ print self.piz_srv
sock = self.request
- sock.settimeout(10)
+ sock.settimeout(100)
# sock.setblocking(0)
data = ""
try:
@@ -229,5 +230,5 @@ class PiztorServer():
if __name__ == "__main__":
- ps = PiztorServer("192.168.1.101", 9990)
+ ps = PiztorServer("localhost", 9990)
ps.run()