fixed another bug
This commit is contained in:
		
							parent
							
								
									8f2a5fe9a2
								
							
						
					
					
						commit
						b021d6de88
					
				|  | @ -79,6 +79,7 @@ class game_strings_base(object): | |||
| 
 | ||||
|     def parse_formats(self, format_tuple, update): | ||||
|         out_list = [] | ||||
|         try: | ||||
|             for string in format_tuple: | ||||
|                 if string == "defender": | ||||
|                     out_list.append(update['defender'].name) | ||||
|  | @ -96,6 +97,8 @@ class game_strings_base(object): | |||
|                     out_list.append(update['defense_team'].name) | ||||
|                 elif string == "offense_team": | ||||
|                     out_list.append(update['offense_team'].name) | ||||
|         except KeyError: | ||||
|             out_list.append("None") | ||||
|         return tuple(out_list) | ||||
| 
 | ||||
|     def activate_weather(self, lastupdate, currentupdate, game): | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Sakimori
						Sakimori