Replaced line breaks for easier to read instructions
This commit is contained in:
		
							parent
							
								
									65da7e8800
								
							
						
					
					
						commit
						4206cb4809
					
				
					 2 changed files with 4 additions and 0 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							|  | @ -34,8 +34,12 @@ class Base(Handler): | ||||||
| 
 | 
 | ||||||
|     def cleanup(self, meal): |     def cleanup(self, meal): | ||||||
|         self.replacable_keys.do_replace(meal) |         self.replacable_keys.do_replace(meal) | ||||||
|  |         self.cleanup_instructions(meal) | ||||||
|         self.cleanup_ingredients(meal) |         self.cleanup_ingredients(meal) | ||||||
| 
 | 
 | ||||||
|  |     def cleanup_instructions(self, meal): | ||||||
|  |         meal["instructions"] = meal["instructions"].replace('\r\n', '\n\n') | ||||||
|  | 
 | ||||||
|     def cleanup_ingredients(self, meal): |     def cleanup_ingredients(self, meal): | ||||||
|         potential_length = 20 |         potential_length = 20 | ||||||
|         true_length = 0 |         true_length = 0 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Ava Gaiety Wroten
						Ava Gaiety Wroten