Rewrite incoming

This commit is contained in:
PhilipTrauner 2015-12-25 18:08:22 +01:00
parent 6bab8cf8f8
commit 725ad76159

View file

@ -5,8 +5,3 @@ class fl0wAPI:
def __init__(self, address, client_type):
self.sock = socket.create_connection(address)
self.authed = True
def auth(self, user, password):
self.sock.send({"auth" : {"user" : user, "pw" : password}})
if self.sock.recv()