Update hexapod.py

This commit is contained in:
Zhengyu Peng 2022-03-13 14:38:56 -04:00
parent 264c44f55e
commit 83f03cdf52

View File

@ -350,7 +350,8 @@ class Hexapod(Thread):
def save_config(self):
try:
json.dump(self.config, open('/home/pi/hexapod/software/raspberry pi/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