Author: rshortt
Date: Thu Mar 16 02:48:24 2006
New Revision: 1293

Modified:
   trunk/WIP/epg2/src/__init__.py

Log:
check for a connection before returning the client


Modified: trunk/WIP/epg2/src/__init__.py
==============================================================================
--- trunk/WIP/epg2/src/__init__.py      (original)
+++ trunk/WIP/epg2/src/__init__.py      Thu Mar 16 02:48:24 2006
@@ -18,7 +18,7 @@
     """
     global _client
 
-    if _client:
+    if _client and _client.ping() != False:
         return _client
 
     if address.split(':')[0] not in ['127.0.0.1', '0.0.0.0'] and \


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to