fix Metadata.edit
This commit is contained in:
parent
e8e2535913
commit
a95277e0ba
1 changed files with 1 additions and 1 deletions
|
@ -423,7 +423,7 @@ class Metadata(db.Model):
|
|||
if commit:
|
||||
state.db.session.commit()
|
||||
|
||||
def edit(self, data, commit=True, modified=True):
|
||||
def edit(self, data, commit=True, modified=None):
|
||||
changes = {}
|
||||
if 'isbn' in data and isinstance(data['isbn'], list):
|
||||
isbns = [utils.to_isbn13(isbn) for isbn in data['isbn']]
|
||||
|
|
Loading…
Reference in a new issue