Update hexapod.py

This commit is contained in:
Zhengyu Peng 2022-03-12 16:02:26 -05:00
parent 7461f653e1
commit 830be13ff9

View File

@ -350,7 +350,7 @@ class Hexapod(Thread):
def save_config(self):
try:
json.dump(self.config, open('config.json', 'w+'), indent=4)
json.dump(self.config, open('/home/pi/hexapod/software/raspberry pi/config.json', 'w+'), indent=4)
except PermissionError as err:
pass