Browse Source

Can't do that.

Ask Solem 15 years ago
parent
commit
19e63f92a5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      celery/fields.py

+ 1 - 1
celery/fields.py

@@ -31,7 +31,7 @@ class PickledObjectField(models.Field):
         else:
             try:
                 return pickle.loads(str(value))
-            except pickle.PickleError:
+            except Exception:
                 # If an error was raised, just return the plain value
                 return value