remove debug
This commit is contained in:
1
files.py
1
files.py
@@ -390,7 +390,6 @@ def custom_static(filename):
|
|||||||
################################################################################
|
################################################################################
|
||||||
@app.template_filter('TopLevelFolderOf')
|
@app.template_filter('TopLevelFolderOf')
|
||||||
def _jinja2_filter_toplevelfolderof(path, cwd):
|
def _jinja2_filter_toplevelfolderof(path, cwd):
|
||||||
print(f"path={path}, cwd={cwd}, dirname=={os.path.dirname(path)}")
|
|
||||||
if os.path.dirname(path) == cwd:
|
if os.path.dirname(path) == cwd:
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user