mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
fix: wrong folder name
This commit is contained in:
parent
aa0321df8f
commit
9b9545fb8f
3 changed files with 13 additions and 4 deletions
|
@ -34,7 +34,7 @@ class HttpDownloader:
|
|||
download = self.aria2.get_download(self.download.gid)
|
||||
|
||||
response = {
|
||||
'folderName': str(download.dir) + "/" + download.name,
|
||||
'folderName': download.name,
|
||||
'fileSize': download.total_length,
|
||||
'progress': download.completed_length / download.total_length if download.total_length else 0,
|
||||
'downloadSpeed': download.download_speed,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue