Browse Source

Fixes doc typo shutter -> on_shutter

Ask Solem 14 năm trước cách đây
mục cha
commit
4b583edb36
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      docs/userguide/monitoring.rst

+ 1 - 1
docs/userguide/monitoring.rst

@@ -444,7 +444,7 @@ Here is an example camera, dumping the snapshot to screen:
 
     class DumpCam(Polaroid):
 
-        def shutter(self, state):
+        def on_shutter(self, state):
             if not state.event_count:
                 # No new events since last snapshot.
                 return