mirror of
https://github.com/alexta69/metube.git
synced 2026-03-03 02:47:02 +00:00
Merge pull request #608 from rdiaz738/master
Fixed MAX_CONCURRENT_DOWNLOADS and button styling
This commit is contained in:
@@ -232,7 +232,7 @@ class DownloadQueue:
|
||||
if self.config.DOWNLOAD_MODE == 'sequential':
|
||||
self.seq_lock = asyncio.Lock()
|
||||
elif self.config.DOWNLOAD_MODE == 'limited':
|
||||
self.semaphore = asyncio.Semaphore(self.config.MAX_CONCURRENT_DOWNLOADS)
|
||||
self.semaphore = asyncio.Semaphore(int(self.config.MAX_CONCURRENT_DOWNLOADS))
|
||||
|
||||
self.done.load()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user