fixed stack author

This commit is contained in:
Alice 2018-06-11 12:19:49 +02:00
parent deb426ebaf
commit c2e0bec1be

View File

@ -39,7 +39,7 @@ with open(args.csv) as f:
if stack:
b = db.session.query(Stack).filter_by(stack_name=stack).first()
if b == None:
b = Stack(stack_name=stack, stack_description=None)
b = Stack(stack_name=stack, stack_description=None, stack_author=None)
db.session.add(b)
book.stacks.append(b)