Skip to content

Commit

Permalink
Fix missing exception reference
Browse files Browse the repository at this point in the history
  • Loading branch information
waveform80 committed Mar 16, 2015
1 parent 3906dbb commit 12d7674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion picamera/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ def _init_defaults(self):
mmal_check(
mmal.mmal_port_parameter_get(self._camera[0].control, mp.hdr),
prefix="Failed to get annotation background")
except PiCameraMMALError:
except PiCameraMMALError as e:
if e.status == mmal.MMAL_EINVAL:
self._annotate_v3 = False
else:
Expand Down

0 comments on commit 12d7674

Please sign in to comment.