From 83f03cdf52e4ae0df3ece7e240baf9b6e11d70bb Mon Sep 17 00:00:00 2001 From: Zhengyu Peng Date: Sun, 13 Mar 2022 14:38:56 -0400 Subject: [PATCH] Update hexapod.py --- software/raspberry pi/hexapod.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/software/raspberry pi/hexapod.py b/software/raspberry pi/hexapod.py index b195122..c3ba525 100644 --- a/software/raspberry pi/hexapod.py +++ b/software/raspberry pi/hexapod.py @@ -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