fixed stack author
This commit is contained in:
parent
deb426ebaf
commit
c2e0bec1be
@ -39,7 +39,7 @@ with open(args.csv) as f:
|
|||||||
if stack:
|
if stack:
|
||||||
b = db.session.query(Stack).filter_by(stack_name=stack).first()
|
b = db.session.query(Stack).filter_by(stack_name=stack).first()
|
||||||
if b == None:
|
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)
|
db.session.add(b)
|
||||||
book.stacks.append(b)
|
book.stacks.append(b)
|
||||||
|
Loading…
Reference in New Issue
Block a user