Пример #1
0
    def __init__(self, path, auth):
        self.path = path
        self.auth = auth

        self.version_names = []
        for fname in sorted(os.listdir(path)):
            if os.path.isdir(abspath(path, fname)):
                self.version_names.append(fname)
        self.version_cache = {}
Пример #2
0
 def index(self, **kwargs):
     return open(abspath(thisdir, "ui", "root.html"), "rb")
Пример #3
0
 def index(self, **kwargs):
     return open(abspath(thisdir, "ui", "concordance.html"), "rb")