~netlandish/django-wiki

42d51e9c36cc319596251b5e579701f1416017ce — Andrea Maschio 6 years ago 9c7efff
fix for error in Exception Type
1 files changed, 1 insertions(+), 1 deletions(-)

M src/wiki/plugins/images/models.py
M src/wiki/plugins/images/models.py => src/wiki/plugins/images/models.py +1 -1
@@ 112,7 112,7 @@ def on_image_revision_delete(instance, *args, **kwargs):
    
    try:
        path = instance.image.path.split("/")[:-1]
    except NotImplemented:
    except NotImplementedError:
            # This backend storage doesn't implement 'path' so there is no path to delete
        return