Skip to content

Commit

Permalink
Merge pull request #33 from ZhimuG/development
Browse files Browse the repository at this point in the history
Updated configurable.py to fix an error when performing settings in Keithley 2400 models.
  • Loading branch information
simbilod authored Aug 12, 2022
2 parents f2882fd + cceb417 commit 20d9e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightlab/equipment/abstract_drivers/configurable.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def set(self, cStr, val):
if success != 1: # it doesn't exist yet
try:
dpath.util.new(self.dico, *cmd, separator=self.separator)
except ValueError:
except (ValueError, dpath.exceptions.PathNotFound):
# We probably have an integer leaf where we would also like to have a directory
parent = self.separator.join(cmd[0].split(self.separator)[:-1])
try:
Expand Down

0 comments on commit 20d9e01

Please sign in to comment.