Commits

Stephen McDonald committed 85b246e

Updated thumbnail subdirectory path.

Comments (0)

Files changed (1)

filebrowser_safe/views.py

     """
     from mezzanine.conf import settings
     dir_name, file_name = os.path.split(file_path)
-    thumbnails_dir = settings.THUMBNAILS_DIR_NAME
-    path = os.path.join(dir_name, thumbnails_dir, "thumbs-%s" % file_name)
+    path = os.path.join(dir_name, settings.THUMBNAILS_DIR_NAME, file_name)
     try:
         default_storage.rmtree(path)
     except: