| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -42,7 +42,8 @@ from slugify import slugify | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					from werkzeug.utils import secure_filename | 
					 | 
					 | 
					 | 
					from werkzeug.utils import secure_filename | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					""" --- STASHR CORE IMPORTS --- """ | 
					 | 
					 | 
					 | 
					""" --- STASHR CORE IMPORTS --- """ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					from stashr import log, database, parsefilename, paths, folders, naming | 
					 | 
					 | 
					 | 
					from stashr import log, database, parsefilename, paths, folders, naming, stashr | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					# from stashr.stashr import stashr_image_downloaded | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					from stashr.comicvine import cv | 
					 | 
					 | 
					 | 
					from stashr.comicvine import cv | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					from stashr.config import stashrconfig | 
					 | 
					 | 
					 | 
					from stashr.config import stashrconfig | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -914,6 +915,8 @@ def download_image(id, image_type, url): | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    with open(filepath, 'wb') as f: | 
					 | 
					 | 
					 | 
					    with open(filepath, 'wb') as f: | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        f.write(r.content) | 
					 | 
					 | 
					 | 
					        f.write(r.content) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    # CALL STASHR SIGNAL FOR IMAGE DL HERE | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    stashr.stashr_image_downloaded.send(filepath=filepath, folderpath=folderpath, image_id=id, image_type=image_type) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					def update_volumes_from_release_list(): | 
					 | 
					 | 
					 | 
					def update_volumes_from_release_list(): | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |