diff --git a/papirus/epd.py b/papirus/epd.py index 674f9da..4e0c204 100644 --- a/papirus/epd.py +++ b/papirus/epd.py @@ -144,7 +144,7 @@ def rotation(self): @rotation.setter def rotation(self, rot): - if rot not in (0, 90, 180, 270) + if rot not in (0, 90, 180, 270): raise EPDError('rotation can only be 0, 90, 180 or 270') if abs(self._rotation - rot) == 90 or abs(self._rotation - rot) == 270: self._width, self._height = self._height, self._width