[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [flashproxy/master] Return string from excepted get_external_ip.
commit 183932a2995c9feaadb634cf50192ab877d97637
Author: Arlo Breault <arlolra@xxxxxxxxx>
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
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits