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

No files matched your search

+1 -1
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:
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}")
# async def remove_temp_files():
@@ -95,7 +95,7 @@ class PlayerTemplates:
)
if not have_access:
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}'
}])