Skip to content

Commit

Permalink
Close devices (#1985)
Browse files Browse the repository at this point in the history
  • Loading branch information
s-martin committed Mar 12, 2023
1 parent 927520c commit 3bebe59
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/RegisterDevice.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 3bebe59

Please sign in to comment.