diff options
| author | Jinn Ko <bitlbee@mx.ixido.net> | 2013-03-07 16:45:31 +0100 | 
|---|---|---|
| committer | Miklos Vajna <vmiklos@vmiklos.hu> | 2013-03-07 16:45:31 +0100 | 
| commit | 2363ccab98e9bb81414eabad64e60b590f7a5fc0 (patch) | |
| tree | dc82d4ffa3e667836b654099dccad807207fdcd1 | |
| parent | f4eb3fc7c5eb6c0c035b728f6e820230fc8a1e2c (diff) | |
skyped: fix non-gobject mode (#1035)
| -rw-r--r-- | protocols/skype/skyped.py | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/skype/skyped.py b/protocols/skype/skyped.py index b4617056..86b1e96a 100644 --- a/protocols/skype/skyped.py +++ b/protocols/skype/skyped.py @@ -128,7 +128,7 @@ def send(sock, txt, tries=10):  	if hasgobject:  		if not options.conn: return  		try: -			sock.sendall(txt) +			done = sock.sendall(txt)  		except socket.error as s:  			dprint("Warning, sending '%s' failed (%s)." % (txt, s))  			options.conn.close() @@ -138,7 +138,7 @@ def send(sock, txt, tries=10):  			if not options.conn: break  			if wait_for_lock(options.lock, 3, 10, "socket send"):  				try: -					 if options.conn: sock.sendall(txt) +					 if options.conn: done = sock.sendall(txt)  					 options.lock.release()  				except socket.error as s:  					options.lock.release()  | 
