diff --git a/core/cleanup.py b/core/cleanup.py index 6ba076a..0a2a3f5 100644 --- a/core/cleanup.py +++ b/core/cleanup.py @@ -41,7 +41,7 @@ class CleanupTimer: """Perform cleanup and reschedule next timer""" try: - for i in list(DATA_STORE.spots.iterkeys()): + for i in list(DATA_STORE.spots.keys()): try: spot = DATA_STORE.spots[i] if spot.expired(): @@ -49,7 +49,7 @@ class CleanupTimer: except KeyError: # Must have already been deleted, OK with that pass - for i in list(DATA_STORE.alerts.iterkeys()): + for i in list(DATA_STORE.alerts.keys()): try: alert = DATA_STORE.alerts[i] if alert.expired(): diff --git a/templates/add_spot.html b/templates/add_spot.html index f6abd52..2e0683b 100644 --- a/templates/add_spot.html +++ b/templates/add_spot.html @@ -76,7 +76,7 @@ - + diff --git a/templates/alerts.html b/templates/alerts.html index d7647c3..8cb85d2 100644 --- a/templates/alerts.html +++ b/templates/alerts.html @@ -82,7 +82,7 @@ - + diff --git a/templates/bands.html b/templates/bands.html index 715404e..1241abf 100644 --- a/templates/bands.html +++ b/templates/bands.html @@ -79,8 +79,8 @@ - - + + diff --git a/templates/base.html b/templates/base.html index defc5df..6a02ef6 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,6 +1,6 @@ {% extends "skeleton.html" %} {% block head_extra %} - + @@ -10,10 +10,10 @@ - - - - + + + + {% end %} {% block body %}