diff python/moving.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 455f9b93819c
children 93633ce122c3
line wrap: on
line diff
--- a/python/moving.py	Wed May 20 12:04:22 2015 +0200
+++ b/python/moving.py	Wed May 20 13:57:47 2015 +0200
@@ -2,7 +2,7 @@
 '''Libraries for moving objects, trajectories...'''
 
 import utils, cvutils
-from storage import VideoFilenameAddable
+from base import VideoFilenameAddable
 
 from math import sqrt
 from numpy import median
@@ -15,7 +15,6 @@
     print('Shapely library could not be loaded')
     shapelyAvailable = False
 
-__metaclass__ = type
 
 class Interval(object):
     '''Generic interval: a subset of real numbers (not iterable)'''