Update hexapod.py
This commit is contained in:
parent
1a4ba3b896
commit
d10a062432
@ -350,7 +350,8 @@ class Hexapod(Thread):
|
|||||||
|
|
||||||
def save_config(self):
|
def save_config(self):
|
||||||
try:
|
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:
|
except PermissionError as err:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user