remove debugs

This commit is contained in:
2021-04-12 00:16:06 +10:00
parent 70458228b3
commit 35d1b32bba

View File

@@ -344,13 +344,9 @@ def custom_static(filename):
################################################################################
@app.template_filter('TopLevelFolderOf')
def _jinja2_filter_toplevelfolderof(path, cwd):
print( f"TopLevelFolderOf( {path}, {cwd} -- dirname={os.path.dirname(path)}" )
if os.path.dirname(path) == cwd:
print("---TopLevelFolderOf is true")
return True
else:
print("---TopLevelFolderOf is false")
return False
###############################################################################