1
0
mirror of http://aero2k.de/t/repos/urlbot-native.git synced 2017-09-06 15:25:38 +02:00

fix crash on non-resolveable URLs

This commit is contained in:
urlbot
2014-08-09 22:39:19 +02:00
parent 2a39a810d6
commit 4994faaac8

View File

@@ -48,6 +48,8 @@ def fetch_page(url):
return (html, response.headers)
except IOError as e:
logger('warn', 'failed: ' + e.errno)
return (None, None)
def extract_title(url):
if 'repo/urlbot.git' in url: