FIXMEs
This commit is contained in:
parent
98e0a930cf
commit
e78408e6f4
4
app.py
4
app.py
@ -50,8 +50,12 @@ def upload():
|
||||
metadata_fpath = os.path.join(CWD, "metadatum", filename)
|
||||
f.save(metadata_fpath)
|
||||
|
||||
# FIXME: fix naming of files
|
||||
|
||||
pdf = os.path.join(CWD, "static", "generated", "{}.pdf".format(filename))
|
||||
metadata = "sqlite:///{}".format(os.path.join(CWD, "metadatum", filename))
|
||||
|
||||
# FIXME: remove hardcoding, feed fields in
|
||||
make_cards(
|
||||
pdf, metadata, ["title", "timestamp", "comments", "authors"], ["tags"]
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user