| 
				
			 | 
			
			
				@@ -204,6 +204,8 @@ END:VCALENDAR 
			 | 
		
	
		
			
			| 
				204
			 | 
			
				204
			 | 
			
			
				         user_calendar.save() 
			 | 
		
	
		
			
			| 
				205
			 | 
			
				205
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				206
			 | 
			
				206
			 | 
			
			
				         daemons.execute_in_thread('radicale', lambda: transaction.commit()) 
			 | 
		
	
		
			
			| 
				
			 | 
			
				207
			 | 
			
			
				+        # TODO - 20160606 - Bastien: lock should be better here ? 
			 | 
		
	
		
			
			| 
				
			 | 
			
				208
			 | 
			
			
				+        time.sleep(3)  # Wait for be sure transaction commited in daemon 
			 | 
		
	
		
			
			| 
				207
			 | 
			
				209
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				208
			 | 
			
				210
			 | 
			
			
				         try: 
			 | 
		
	
		
			
			| 
				209
			 | 
			
				211
			 | 
			
			
				             event = DBSession.query(Content).filter( 
			 |