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 = {}
def index(self, **kwargs): return open(abspath(thisdir, "ui", "root.html"), "rb")
def index(self, **kwargs): return open(abspath(thisdir, "ui", "concordance.html"), "rb")