Skip to content

Commit ab2187c

Browse files
committed
Merge branch 'dev' of https://github.com/pyControl/code into dev
2 parents a5bf567 + f5f366e commit ab2187c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/pyControl/hardware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ def check(self, sample):
410410

411411
def set_threshold(self, threshold, run_start=False):
412412
if not isinstance(threshold, int):
413-
raise ValueError(f"Threshold must be an integer, got {type(threshold).__name__}.")
413+
raise ValueError("Threshold must be an integer, got {}.".format(type(threshold).__name__))
414414
self.threshold = threshold
415415
self.reset_above_threshold = True
416416

0 commit comments

Comments
 (0)