mirror of
				https://github.com/simon987/opendirectories-bot-2.git
				synced 2025-10-31 13:56:51 +00:00 
			
		
		
		
	Formatting fix (again...)
This commit is contained in:
		
							parent
							
								
									7a33e7796d
								
							
						
					
					
						commit
						4901236705
					
				| @ -90,11 +90,11 @@ class OdDatabase: | ||||
|     @staticmethod | ||||
|     def format_search_hits(hits, query): | ||||
| 
 | ||||
|         message = str(hits["hits"]["total"]) + " matches found in " + str(hits["took"]) + "ms for query `" + query + "`" | ||||
|         message = "**" + str(hits["hits"]["total"]) + "** matches found in " + str(hits["took"]) + "ms for query `" + query + "`" | ||||
|         if hits["hits"]["total"] > 0: | ||||
|             message += ":    \n\n" | ||||
|             message += "File | Size | Date     \n" | ||||
|             message += ":-- | :-- | --:    \n" | ||||
|             message += "File | Size     \n" | ||||
|             message += ":-- | --:    \n" | ||||
| 
 | ||||
|             for hit in hits["hits"]["hits"]: | ||||
|                 src = hit["_source"] | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user