Erkennung, wenn mehrere Tonnen am selben Tag abgeholt werden
This commit is contained in:
		
							parent
							
								
									54367f5289
								
							
						
					
					
						commit
						dbcb0a5af7
					
				@ -149,6 +149,11 @@ if __name__ == '__main__':
 | 
				
			|||||||
	index = set();
 | 
						index = set();
 | 
				
			||||||
	for row in antwort_liste:
 | 
						for row in antwort_liste:
 | 
				
			||||||
		try:
 | 
							try:
 | 
				
			||||||
 | 
								if (row.count(tomorrow) > 1):
 | 
				
			||||||
 | 
									for i in range(len(row)):
 | 
				
			||||||
 | 
										if (row[i] == tomorrow and i < 4):
 | 
				
			||||||
 | 
											index.add(i)
 | 
				
			||||||
 | 
								else:
 | 
				
			||||||
				pos = row.index(tomorrow)
 | 
									pos = row.index(tomorrow)
 | 
				
			||||||
				if pos < 4:
 | 
									if pos < 4:
 | 
				
			||||||
					index.add(pos)
 | 
										index.add(pos)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user