removed debug print statements from sweep_device.py