silly Python mistake