From 6c31f313fda0f86486fd841cffbb49e64ce061c0 Mon Sep 17 00:00:00 2001 From: lukeroge Date: Wed, 28 Mar 2012 11:04:06 +1300 Subject: [PATCH] Standardised function name --- plugins/urlparse.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/urlparse.py b/plugins/urlparse.py index 58fb8e2..e2ea215 100755 --- a/plugins/urlparse.py +++ b/plugins/urlparse.py @@ -4,7 +4,7 @@ import re titler = re.compile(r'(?si)(.+?)') -def gettitle(url): +def get_title(url): url = urlnorm.normalize(url.encode('utf-8')) url = url.decode('utf-8') # add http if its missing @@ -33,4 +33,4 @@ def gettitle(url): @hook.command def title(inp): ".title -- gets the title of a web page" - return gettitle(inp) + return get_title(inp)