|
|
|
@ -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)
|
|
|
|
|