mirror of
https://github.com/alexta69/metube.git
synced 2025-04-01 19:37:35 +03:00
Merge pull request #608 from rdiaz738/master
Fixed MAX_CONCURRENT_DOWNLOADS and button styling
This commit is contained in:
commit
cc5f22abf0
2 changed files with 10 additions and 2 deletions
|
@ -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()
|
||||
|
||||
|
|
|
@ -99,7 +99,15 @@ td
|
|||
|
||||
.modal-header
|
||||
border-bottom: 1px solid #eee
|
||||
|
||||
.modal-body
|
||||
textarea.form-control
|
||||
resize: vertical
|
||||
|
||||
|
||||
.add-url
|
||||
display: inline-flex
|
||||
align-items: center
|
||||
justify-content: center
|
||||
|
||||
.spinner-border
|
||||
margin-right: 0.5rem
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue