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

@@ -49,6 +49,8 @@ def fetch_page(url):
except IOError as e:
logger('warn', 'failed: ' + e.errno)
return (None, None)
def extract_title(url):
if 'repo/urlbot.git' in url:
logger('info', 'repo URL found: ' + url)