Skip to content
Browse files

fixed bug when saving an edition form who already has attached files

  • Loading branch information...
1 parent 2f07c4e commit 401924eadde1bcc4048f2eabea4aba436e10f1f7 @gustavofonseca gustavofonseca committed Jun 13, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 isis/model/couchdb.py
View
2 isis/model/couchdb.py
@@ -38,7 +38,7 @@ def _attach_exists(old_doc, property_name):
def _attach_updated(new_doc, property_name):
try:
- return new_doc[property_name] is not None
+ return new_doc[property_name]['fp'] is not None
except KeyError:
return False

0 comments on commit 401924e

Please sign in to comment.
Something went wrong with that request. Please try again.