forked from jan/fatamorgana
		
	Return more info when encountering an invalid repetition_type in ArbitraryRepetition
This commit is contained in:
		
							parent
							
								
									10ffcc18ea
								
							
						
					
					
						commit
						acd4e96db0
					
				| @ -1220,7 +1220,7 @@ class ArbitraryRepetition: | ||||
|                 x_displacements.append(x * mult) | ||||
|                 y_displacements.append(y * mult) | ||||
|         else: | ||||
|             raise InvalidDataError('Invalid ArbitraryRepetition repetition_type') | ||||
|             raise InvalidDataError('Invalid ArbitraryRepetition repetition_type: {}'.format(repetition_type)) | ||||
|         return ArbitraryRepetition(x_displacements, y_displacements) | ||||
| 
 | ||||
|     def write(self, stream: io.BufferedIOBase) -> int: | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user