diff --git a/scripts/RegisterDevice.py b/scripts/RegisterDevice.py index 026a4ecb3..1198bb708 100755 --- a/scripts/RegisterDevice.py +++ b/scripts/RegisterDevice.py @@ -16,3 +16,6 @@ with open(path + '/deviceName.txt', 'w') as f: f.write(devices[dev_id].name) f.close() + +for dev in devices: + dev.close()