Permalink
Browse files

docs (and one little syntax fix)

  • Loading branch information...
1 parent 2fba7ed commit faa89a433c3c9e5db671cea51cd6553874078637 @zebpalmer committed Mar 11, 2013
Showing with 2 additions and 1 deletion.
  1. +1 −1 weatheralerts/test_weatheralerts.py
  2. +1 −0 weatheralerts/weather_alerts.py
@@ -8,7 +8,7 @@ def setUp(self):
self.nws = WeatherAlerts()
def test_almost_everything(self):
- print "Alerts currently in feed {0}".format(len(self.nws.alerts)
+ print "Alerts currently in feed {0}".format(len(self.nws.alerts))
def test_event_state_counties(self):
self.nws.event_state_counties()
@@ -17,6 +17,7 @@ def __init__(self, state=None, samecodes=None, load=True, cachetime=3):
*Set a state to see all alerts on your state feed.
*For local alerts only, set samecodes to a single samecode string, or list of samecode strings. This will
pull your state feed automatically.
+ *Cachetime is set in minutes, default is 3.
'''
self._alerts = None
self._feed = None

0 comments on commit faa89a4

Please sign in to comment.