correct reporting

This commit is contained in:
Martin Diehl 2021-12-17 14:28:12 +01:00
parent a1e42af860
commit 2fc25c6fa9
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ class Result:
else: else:
what_,datasets_ = v what_,datasets_ = v
dup = self._manage_view('set',what_,datasets_) dup = self._manage_view('set',what_,datasets_)
if protected is True: if not protected:
print(util.warn('Warning: Modification of existing datasets allowed!')) print(util.warn('Warning: Modification of existing datasets allowed!'))
dup._protected = protected dup._protected = protected
else: else: