dev@locazia: fix misprint
This commit is contained in:
parent
6efffdc80c
commit
ed88a38cd9
|
|
@ -36,7 +36,7 @@ async def create_new_content(
|
||||||
)
|
)
|
||||||
db_session.add(new_content)
|
db_session.add(new_content)
|
||||||
db_session.commit()
|
db_session.commit()
|
||||||
new_content = db_session.query(StoredContent).filter(StoredContent.hash == content_hash).first()
|
new_content = db_session.query(StoredContent).filter(StoredContent.hash == content_hash_b58).first()
|
||||||
assert new_content, "Content not created (through utils)"
|
assert new_content, "Content not created (through utils)"
|
||||||
content_filepath = os.path.join(UPLOADS_DIR, content_hash_b58)
|
content_filepath = os.path.join(UPLOADS_DIR, content_hash_b58)
|
||||||
async with aiofiles.open(content_filepath, 'wb') as file:
|
async with aiofiles.open(content_filepath, 'wb') as file:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue