mirror of
				https://github.com/retspen/webvirtcloud
				synced 2025-07-31 12:41:08 +00:00 
			
		
		
		
	Capitalized iso suffixs not seen by cdrom. Make them case insensitive.
This commit is contained in:
		
							parent
							
								
									1a8eb7c2c3
								
							
						
					
					
						commit
						a0324ac60e
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -38,7 +38,7 @@ class wvmCreate(wvmConnect): | |||
|             except: | ||||
|                 pass | ||||
|             for img in stg.listVolumes(): | ||||
|                 if img.endswith('.iso'): | ||||
|                 if img.lower().endswith('.iso'): | ||||
|                     pass | ||||
|                 else: | ||||
|                     images.append(img) | ||||
|  |  | |||
|  | @ -830,7 +830,7 @@ class wvmInstance(wvmConnect): | |||
|                 except: | ||||
|                     pass | ||||
|                 for img in stg.listVolumes(): | ||||
|                     if img.endswith('.iso'): | ||||
|                     if img.lower().endswith('.iso'): | ||||
|                         iso.append(img) | ||||
|         return iso | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue