Beispiel #1
0
    def get_web_dir(my, snapshot=None):
        """go through the stored snapshot_code to get the actual path"""
        code = my.get_value("snapshot_code")
        from snapshot import Snapshot

        snapshot = Snapshot.get_by_code(code)
        return snapshot.get_web_dir()
Beispiel #2
0
 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()
Beispiel #3
0
 def get_web_dir(my, snapshot=None):
     '''go through the stored snapshot_code to get the actual path'''
     code = my.get_value("snapshot_code")
     from snapshot import Snapshot
     snapshot = Snapshot.get_by_code(code)
     return snapshot.get_web_dir()