From 90397f8160a3e2007c67331a9c643b32575173f6 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 11 Aug 2013 22:12:34 +0100 Subject: [PATCH] Updated cricket plugin --- plugins/cricket-score.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/cricket-score.py b/plugins/cricket-score.py index 3ea97d5b..6cb207fc 100644 --- a/plugins/cricket-score.py +++ b/plugins/cricket-score.py @@ -3,8 +3,8 @@ import urllib2 import json import time -score_url = "http://api.scorescard.com/?type=score&teamone=Australia&teamtwo=England" -#score_url = None +#score_url = "http://api.scorescard.com/?type=score&teamone=Australia&teamtwo=England" +score_url = None summary = None @@ -12,7 +12,7 @@ summary = None def prof_init(version, status): if score_url: prof.register_timed(get_scores, 60) - prof.register_command("/cricket", 0, 0, "/cricket", "Get latest cricket score.", "Get latest cricket score.", cmd_cricket) + prof.register_command("/cricket", 0, 0, "/cricket", "Get latest cricket score.", "Get latest cricket score.", cmd_cricket) def prof_on_start(): if score_url: