fix misprint

This commit is contained in:
user 2024-04-05 13:45:09 +03:00
parent 383f306d5d
commit a9fc9433c6
1 changed files with 1 additions and 1 deletions

View File

@ -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: