Updated config.py to handle other devices.
Removed copy-paste mistake.