From 2e2c1b67a46bd71c3b31c4f8b73d4b486e8d2bc6 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 11 Aug 2013 22:19:47 +0100 Subject: [PATCH] Removed time import from cricket plugin --- plugins/cricket-score.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/plugins/cricket-score.py b/plugins/cricket-score.py index 6cb207fc..408bc976 100644 --- a/plugins/cricket-score.py +++ b/plugins/cricket-score.py @@ -1,7 +1,6 @@ import prof import urllib2 import json -import time #score_url = "http://api.scorescard.com/?type=score&teamone=Australia&teamtwo=England" score_url = None @@ -12,7 +11,11 @@ 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: