Skip to content
Snippets Groups Projects
Commit f8c45c95 authored by Valerio Mariani's avatar Valerio Mariani
Browse files

Merge branch 'testing'

parents 242900c5 c2767704
No related branches found
No related tags found
No related merge requests found
......@@ -274,9 +274,9 @@ class CXIWriter:
raise RuntimeError('Adding stacks to the writer is not possible after initialization.')
for entry in self._cxi_stacks:
if path == entry.path:
if path == self._cxi_stacks[entry].path:
if overwrite is True:
del (self._cxi_stacks[name])
del (self._cxi_stacks[entry])
else:
raise RuntimeError('Cannot write the entry. Data is already present at the specified path.')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment