Skip to content

Commit

Permalink
Fixing flake8 error
Browse files Browse the repository at this point in the history
  • Loading branch information
slightlynybbled committed May 22, 2018
1 parent e2d2705 commit 7de6068
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tk_tools/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,8 @@ def set(self, value: int):
max_value = int(''.join(['1' for _ in range(self._bit_width)]), 2)

if value > max_value:
raise ValueError('the value {} is larger than the maximum value {}'.format(value, max_value))
raise ValueError('the value {} is larger than '
'the maximum value {}'.format(value, max_value))

self._value = value
self._text_update()
Expand Down

0 comments on commit 7de6068

Please sign in to comment.