From 663dfe884ba6891885e8431410d83ae22fe89237 Mon Sep 17 00:00:00 2001 From: melonhead Date: Mon, 1 Mar 2010 01:12:10 +0000 Subject: [PATCH] Hurf durf can't have subroutines with the same name --- plugins/youtube.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/youtube.py b/plugins/youtube.py index e1c4373..9ff6137 100644 --- a/plugins/youtube.py +++ b/plugins/youtube.py @@ -55,7 +55,8 @@ def get_video_description(vid): @hook.command(hook=r'(.*)', prefix=False) -def youtube(inp): +def youtube_url(inp): + print inp m = youtube_re.search(inp) if m: return get_video_description(m.group(1))