Modified device-generator.py. remove needless underscore
Modified device-generator.py. Removed underscore for compatibility.