Spaces:
				
			
			
	
			
			
		Paused
		
	
	
	
			
			
	
	
	
	
		
		
		Paused
		
	
		taslim19
		
	commited on
		
		
					Commit 
							
							·
						
						be2dc0f
	
1
								Parent(s):
							
							eef327e
								
fix: Use /tmp for downloads to prevent PermissionError
Browse files
    	
        DragMusic/utils/downloader.py
    CHANGED
    
    | @@ -12,7 +12,7 @@ _logged_api_skip = False | |
| 12 | 
             
            CHUNK_SIZE = 8192
         | 
| 13 | 
             
            RETRY_DELAY = 2
         | 
| 14 | 
             
            cookies_file = "cookies.txt"
         | 
| 15 | 
            -
            download_folder = "downloads"
         | 
| 16 | 
             
            os.makedirs(download_folder, exist_ok=True)
         | 
| 17 |  | 
| 18 |  | 
|  | |
| 12 | 
             
            CHUNK_SIZE = 8192
         | 
| 13 | 
             
            RETRY_DELAY = 2
         | 
| 14 | 
             
            cookies_file = "cookies.txt"
         | 
| 15 | 
            +
            download_folder = "/tmp/downloads"
         | 
| 16 | 
             
            os.makedirs(download_folder, exist_ok=True)
         | 
| 17 |  | 
| 18 |  |