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