Commits

Chris Mutel committed 2b57a77

Fix bug in activity names

  • Participants
  • Parent commits 398fc1c

Comments (0)

Files changed (1)

             "l": value["location"],
             "n": value["name"],
             "k": key
-        }} for key, value in data.iteritems() if value["num_cfs"]])
+        }} for key, value in data.iteritems()])
 
 
 def get_tuple_index(t, i):
             "u": value["unit"],
             "n": value["num_cfs"],
             "k": key
-        } for key, value in methods.data.iteritems()])
+        } for key, value in methods.data.iteritems() if value.get("num_cfs", 1)])
 
 
 @app.route('/hinton')