This commit is contained in:
user 2024-04-05 18:31:25 +03:00
parent 6bf6b547c8
commit 47905b008b
2 changed files with 2 additions and 2 deletions

View File

@ -114,7 +114,7 @@ async def s_api_v1_storage_get(request, file_hash=None):
async with aiofiles.open(file_path, "rb") as file: async with aiofiles.open(file_path, "rb") as file:
content_file_bin = await file.read() content_file_bin = await file.read()
query_id = str(uuid4().hex()) # query_id = str(uuid4().hex())
tempfile_path = os.path.join(UPLOADS_DIR, f"tmp_{content_sha256}") tempfile_path = os.path.join(UPLOADS_DIR, f"tmp_{content_sha256}")
# async def remove_temp_files(): # async def remove_temp_files():

View File

@ -95,7 +95,7 @@ class PlayerTemplates:
) )
if not have_access: if not have_access:
inline_keyboard_array.append([{ inline_keyboard_array.append([{
'text': self.user.translated('buyTrackListenLicense_button').format(price=round(0.15 , 3)), 'text': self.user.translated('buyTrackListenLicense_button').format(price=str(round(0.15 , 3))),
'callback_data': f'PC_{content.id}' 'callback_data': f'PC_{content.id}'
}]) }])