Skip to content

Commit

Permalink
Fix leftover DataView
Browse files Browse the repository at this point in the history
Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
  • Loading branch information
oz123 committed Apr 25, 2024
1 parent 1a3b5a5 commit 94967bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/plette/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"Lockfile", "Pipfile",
]

__version__ = '2.0.0'
__version__ = '2.0.1'

from .lockfiles import Lockfile
from .pipfiles import Pipfile
2 changes: 1 addition & 1 deletion src/plette/lockfiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def __getitem__(self, key):
return value

def __setitem__(self, key, value):
if isinstance(value, DataView):
if isinstance(value, DataModel):
self._data[key] = value._data
else:
self._data[key] = value
Expand Down

0 comments on commit 94967bc

Please sign in to comment.