fix import
This commit is contained in:
parent
e15ce62ee5
commit
af3c133d02
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ def add_file(id, f, prefix):
|
|||
item.meta['primaryid'] = item.info.pop('primaryid')
|
||||
db.session.add(item)
|
||||
item.users.append(user)
|
||||
Changelog.record(user, 'additem', item.id, f.info)
|
||||
Changelog.record(user, 'additem', item.id, file.info)
|
||||
if item.meta.get('primaryid'):
|
||||
Changelog.record(user, 'edititem', item.id, dict([item.meta['primaryid']]))
|
||||
item.added = datetime.utcnow()
|
||||
|
|
Loading…
Reference in a new issue