From 42d51e9c36cc319596251b5e579701f1416017ce Mon Sep 17 00:00:00 2001 From: Andrea Maschio Date: Wed, 29 Aug 2018 16:45:22 +0200 Subject: [PATCH] fix for error in Exception Type --- src/wiki/plugins/images/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wiki/plugins/images/models.py b/src/wiki/plugins/images/models.py index 49ddbcce..dc9f7c2c 100644 --- a/src/wiki/plugins/images/models.py +++ b/src/wiki/plugins/images/models.py @@ -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 -- 2.45.2