From c2e0bec1bede4ada76936b9bb86314fe3f35af73 Mon Sep 17 00:00:00 2001 From: Alice Date: Mon, 11 Jun 2018 12:19:49 +0200 Subject: [PATCH] fixed stack author --- import_csv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/import_csv.py b/import_csv.py index af53fbe..df681c0 100644 --- a/import_csv.py +++ b/import_csv.py @@ -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)