Mercurial Hosting > traffic-intelligence
diff python/indicators.py @ 665:15e244d2a1b5
corrected bug with circular import for VideoFilenameAddable, moved to base module
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Wed, 20 May 2015 13:57:47 +0200 |
parents | dc70d9e711f5 |
children | fa9aa5f08210 |
line wrap: on
line diff
--- a/python/indicators.py Wed May 20 12:04:22 2015 +0200 +++ b/python/indicators.py Wed May 20 13:57:47 2015 +0200 @@ -1,12 +1,11 @@ #! /usr/bin/env python '''Class for indicators, temporal indicators, and safety indicators''' -__metaclass__ = type - import moving + # need for a class representing the indicators, their units, how to print them in graphs... -class TemporalIndicator: +class TemporalIndicator(object): '''Class for temporal indicators i.e. indicators that take a value at specific instants