1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00
This commit is contained in:
krateng
2021-12-22 05:44:16 +01:00
parent cefed03bc9
commit 0f5ccd4645
3 changed files with 2 additions and 4 deletions

View File

@ -181,8 +181,6 @@ def dynamic_image():
@webserver.route("/images/<pth:re:.*\\.png>")
@webserver.route("/images/<pth:re:.*\\.gif>")
def static_image(pth):
if globalconf.USE_THUMBOR:
return static_file(pth,root=data_dir['images']())
type = pth.split(".")[-1]
small_pth = pth + "-small"