Update ds1307_detect.py

Yet more bugs. Sheesh.