From e8049e9b5a50ad432e87fb28bd93b929e74b8d8a Mon Sep 17 00:00:00 2001 From: bai Date: Tue, 28 Jul 2020 04:29:23 -0400 Subject: Arreglado manejo de países --- cgi/weabot.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cgi') diff --git a/cgi/weabot.py b/cgi/weabot.py index ff93118..5f659e0 100755 --- a/cgi/weabot.py +++ b/cgi/weabot.py @@ -729,8 +729,6 @@ class weabot(object): if board["slip"] == '2': if hide_end: host = '★' - elif addressIsTor(ip): - host = 'onion' else: host = getHost(ip) if host: @@ -764,7 +762,7 @@ class weabot(object): if hide_end or addressIsTor(ip): country = '??' else: - country = getCountry(ip) + country = getCountry(ip) or '??' post["name"] += " [%s]" % country # set expiration date if necessary -- cgit v1.2.1-18-gbd029