fix misprint
This commit is contained in:
parent
383f306d5d
commit
a9fc9433c6
|
|
@ -25,7 +25,7 @@ async def t_callback_owned_content(query: types.CallbackQuery, memory=None, user
|
||||||
).all():
|
).all():
|
||||||
try:
|
try:
|
||||||
metadata_content = StoredContent.from_cid(db_session, content.json_format()['metadata_cid'])
|
metadata_content = StoredContent.from_cid(db_session, content.json_format()['metadata_cid'])
|
||||||
make_log("OwnedContent", f"Metadata content: {metadata_content.file_path}")
|
make_log("OwnedContent", f"Metadata content: {metadata_content.filepath}")
|
||||||
with open(metadata_content.filepath, 'r') as f:
|
with open(metadata_content.filepath, 'r') as f:
|
||||||
metadata_content_json = json.loads(f.read())
|
metadata_content_json = json.loads(f.read())
|
||||||
except BaseException as e:
|
except BaseException as e:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue