plugger.py
changeset 655 5becd66cca02
parent 652 eb2d9f2b3567
child 656 c1792dfc8c7e
equal deleted inserted replaced
654:9f6c091c316c 655:5becd66cca02
    73     def BufferProject(self):
    73     def BufferProject(self):
    74         pass
    74         pass
    75 
    75 
    76 # helper func to get path to images
    76 # helper func to get path to images
    77 def opjimg(imgname):
    77 def opjimg(imgname):
    78     return os.path.join("images",imgname)
    78     return os.path.join(base_folder, "beremiz", "images",imgname)
    79     
    79     
    80 # helper func to check path write permission
    80 # helper func to check path write permission
    81 def CheckPathPerm(path):
    81 def CheckPathPerm(path):
    82     if path is None or not os.path.isdir(path):
    82     if path is None or not os.path.isdir(path):
    83         return False
    83         return False