(self,snapshot=None)
return snapshot.get_web_dir()
go through the stored snapshot_code to get the actual path
go through the stored snapshot_code to get the actual path
go through the stored snapshot_code to get the actual path
def get_web_dir(self,snapshot=None):
        '''go through the stored snapshot_code to get the actual path'''
        code = self.get_value("snapshot_code")
        from .snapshot import Snapshot
        snapshot = Snapshot.get_by_code(code)
        return snapshot.get_web_dir()
def get_web_dir ( self , snapshot = None ) : code = self . get_value ( "snapshot_code" ) from . snapshot import Snapshot snapshot = Snapshot . get_by_code ( code ) return snapshot . get_web_dir ( )