Cleanup
This commit is contained in:
@@ -30,6 +30,7 @@ func Download(url string) error {
|
|||||||
_, ongoing := ongoingDownloads[url]
|
_, ongoing := ongoingDownloads[url]
|
||||||
if ongoing {
|
if ongoing {
|
||||||
// return fmt.Errorf("Download %s is already ongoing", url)
|
// return fmt.Errorf("Download %s is already ongoing", url)
|
||||||
|
Warning.Printf("Download %s is already ongoing", url)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
ongoingDownloadsMutex.Lock()
|
ongoingDownloadsMutex.Lock()
|
||||||
|
Reference in New Issue
Block a user