view python/base.py @ 679:576d9ea4b41a

small update to deal with videos where the number of frames cannot be read
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Thu, 04 Jun 2015 16:04:58 +0200
parents 15e244d2a1b5
children
line wrap: on
line source

'''Module for few base classes to avoid issues of circular import'''

class VideoFilenameAddable(object):
    'Base class with the capability to attach a video filename'

    def setVideoFilename(self, videoFilename):
        self.videoFilename = videoFilename