Skip to content

Commit

Permalink
Merge pull request patx#48 from acifani/master
Browse files Browse the repository at this point in the history
add autodump to lremvalue
  • Loading branch information
Harrison Erd authored Feb 12, 2019
2 parents e21ab4c + 8334923 commit 922679a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pickledb.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ def lremlist(self, name):
def lremvalue(self, name, value):
'''Remove a value from a certain list'''
self.db[name].remove(value)
self._autodumpdb()
return True

def lpop(self, name, pos):
Expand Down

0 comments on commit 922679a

Please sign in to comment.