fix
This commit is contained in:
parent
6bf6b547c8
commit
47905b008b
|
|
@ -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():
|
||||||
|
|
|
||||||
|
|
@ -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}'
|
||||||
}])
|
}])
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue