From 22dc932e220f25d1fd0081a6506fe8b8b3897d35 Mon Sep 17 00:00:00 2001 From: David Wahlstrom Date: Fri, 5 Jun 2015 06:21:21 -0700 Subject: [PATCH] dota2wins: fix typo and remove uneeded modules urllib and json are part of the standard library. --- docs/conf.py | 2 -- i3pystatus/dota2wins.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index d005209..02f2f13 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -33,8 +33,6 @@ MOCK_MODULES = [ "bs4", "novaclient.v2", "dota2py", - "urllib.request", - "json" ] for mod_name in MOCK_MODULES: diff --git a/i3pystatus/dota2wins.py b/i3pystatus/dota2wins.py index 32cc8bf..9237c24 100644 --- a/i3pystatus/dota2wins.py +++ b/i3pystatus/dota2wins.py @@ -22,7 +22,7 @@ class Dota2wins(IntervalModule): "good_threshold"), ("bad_color", "Color of text while win percentage is below " "bad_threshold"), - ("cation_color", "Color of text while win precentage is between good " + ("caution_color", "Color of text while win precentage is between good " "and bad thresholds"), ("screenname", "If set to 'retrieve', requests for the users's " "screenname via API calls. Else, use the supplied string as the "