diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/hachoir_editor/fieldset.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hachoir_editor/fieldset.py b/lib/hachoir_editor/fieldset.py index a74c8e2..b7c9b07 100644 --- a/lib/hachoir_editor/fieldset.py +++ b/lib/hachoir_editor/fieldset.py | |||
| @@ -259,7 +259,7 @@ class EditableFieldSet(object): | |||
| 259 | parts = name.partition('/') | 259 | parts = name.partition('/') |
| 260 | if parts[2]: | 260 | if parts[2]: |
| 261 | fieldset = self[parts[0]] | 261 | fieldset = self[parts[0]] |
| 262 | del fieldset[part[2]] | 262 | del fieldset[parts[2]] |
| 263 | return | 263 | return |
| 264 | if name in self._deleted: | 264 | if name in self._deleted: |
| 265 | raise MissingField(self, name) | 265 | raise MissingField(self, name) |
