few fixes
This commit is contained in:
		@ -94,7 +94,7 @@ def process_repositories(args, service):
 | 
			
		||||
 | 
			
		||||
    for doc in data.docs_by_service_type(service["service_type"]):
 | 
			
		||||
        logging.debug(f"Analyzing document {doc}")
 | 
			
		||||
        if args.document_type and doc["type"] != args.document_type:
 | 
			
		||||
        if args.document_type and doc.get("type") != args.document_type:
 | 
			
		||||
            logging.info(
 | 
			
		||||
                f"Skipping synchronizing {doc['title']} "
 | 
			
		||||
                f"due to the doc-type filter.")
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user