Skip to content

Commit

Permalink
Fix f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
fepegar committed Jun 1, 2020
1 parent 4133e10 commit af3bc06
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def __init__(
for n in self.intensity_range:
if not 0 <= n <= 1:
message = (
'Intensity must be a number between 0 and 1, not {n}')
f'Intensity must be a number between 0 and 1, not {n}')
raise ValueError(message)

def apply_transform(self, sample: Subject) -> dict:
Expand Down

0 comments on commit af3bc06

Please sign in to comment.