[tor-commits] [flashproxy/master] Return string from excepted get_external_ip.

dcf at torproject.org dcf at torproject.org
Sun May 19 16:11:39 UTC 2013


commit 183932a2995c9feaadb634cf50192ab877d97637
Author: Arlo Breault <arlolra at gmail.com>
Date:   Sun May 12 12:24:39 2013 -0700

    Return string from excepted get_external_ip.
---
 flashproxy-reg-appspot |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flashproxy-reg-appspot b/flashproxy-reg-appspot
index 69f96c3..5415ac1 100755
--- a/flashproxy-reg-appspot
+++ b/flashproxy-reg-appspot
@@ -36,7 +36,7 @@ def get_external_ip():
     try:
         f = urllib2.urlopen(req)
     except:
-        return None
+        return ""
     ip = f.read()
     f.close()
     return ip





More information about the tor-commits mailing list