This commit is contained in:
yumoqing 2023-02-02 15:23:01 +08:00
parent 1ba92782d6
commit eaef8dfc5f

View File

@ -76,7 +76,7 @@ class Url2File:
url = self.relatedurl(url,name) url = self.relatedurl(url,name)
return self.url2file(url) return self.url2file(url)
class TmplUrl2File(Url2File): class TmplUrl2File:
def __init__(self,paths,indexes, subffixes=['.tmpl','.ui' ],inherit=False): def __init__(self,paths,indexes, subffixes=['.tmpl','.ui' ],inherit=False):
self.paths = paths self.paths = paths
self.u2fs = [ Url2File(p,prefix,indexes,inherit=inherit) \ self.u2fs = [ Url2File(p,prefix,indexes,inherit=inherit) \