Update mesh_bot.py

This commit is contained in:
SpudGunMan
2024-07-10 19:46:41 -07:00
parent 4666a18785
commit 9a53364ccc
+1 -1
View File
@@ -37,7 +37,7 @@ config = configparser.ConfigParser()
config_file = "config.ini"
if not os.path.exists(config_file):
config['interface'] = {'type': 'serial', 'port': "'/dev/ttyACM0'", 'hostname': '', 'mac': ''}
config['interface'] = {'type': 'serial', 'port': "/dev/ttyACM0", 'hostname': '', 'mac': ''}
config.write(open(config_file, 'w'))
print (f"System: Config file created, please edit {config_file} or review the config.template")
elif os.path.exists(config_file):