fixed double description
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Build and deploy the backend to staging / Build and push image (pull_request) Successful in 1m39s
				
			
		
			
				
	
				Run linting on the backend code / Build (pull_request) Successful in 27s
				
			
		
			
				
	
				Run testing on the backend code / Build (pull_request) Failing after 26m40s
				
			
		
			
				
	
				Build and deploy the backend to staging / Deploy to staging (pull_request) Successful in 26s
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Build and deploy the backend to staging / Build and push image (pull_request) Successful in 1m39s
				
			Run linting on the backend code / Build (pull_request) Successful in 27s
				
			Run testing on the backend code / Build (pull_request) Failing after 26m40s
				
			Build and deploy the backend to staging / Deploy to staging (pull_request) Successful in 26s
				
			This commit is contained in:
		| @@ -312,10 +312,10 @@ class LandmarkManager: | |||||||
|         if importance is None : |         if importance is None : | ||||||
|             if len(tags.keys()) < 5 : |             if len(tags.keys()) < 5 : | ||||||
|                 return None, None |                 return None, None | ||||||
|             if len(tags.keys()) < 10 : |             elif len(tags.keys()) < 10 : | ||||||
|                 description = f"{name} is a well known {place_type}." |                 description = f"{name} is a well known {place_type}." | ||||||
|                  |                  | ||||||
|             if len(tags.keys()) < 17 : |             elif len(tags.keys()) < 17 : | ||||||
|                 importance = 'national' |                 importance = 'national' | ||||||
|                 description = f"{name} is a {place_type} of national importance." |                 description = f"{name} is a {place_type} of national importance." | ||||||
|             else : |             else : | ||||||
| @@ -334,10 +334,10 @@ class LandmarkManager: | |||||||
|         # Format the visitor number |         # Format the visitor number | ||||||
|         if n_visitors is not None : |         if n_visitors is not None : | ||||||
|             n_visitors = int(n_visitors) |             n_visitors = int(n_visitors) | ||||||
|             if n_visitors > 1000 : |             if n_visitors < 1000000 : | ||||||
|                 description += f" {name} welcomes {int(n_visitors/1000)} thousand visitors every year." |                 description += f" It welcomes {int(n_visitors/1000)} thousand visitors every year." | ||||||
|             if n_visitors > 1000000 : |             else : | ||||||
|                 description += f" {name} welcomes {round(n_visitors/1000000, 1)} millionvisitors every year." |                 description += f" It welcomes {round(n_visitors/1000000, 1)} million visitors every year." | ||||||
|  |  | ||||||
|         # Set the keywords. |         # Set the keywords. | ||||||
|         keywords = {"importance": importance, |         keywords = {"importance": importance, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user