Ver Fonte

Fixes doc typo shutter -> on_shutter

Ask Solem há 13 anos atrás
pai
commit
4b583edb36
1 ficheiros alterados com 1 adições e 1 exclusões
  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):
     class DumpCam(Polaroid):
 
 
-        def shutter(self, state):
+        def on_shutter(self, state):
             if not state.event_count:
             if not state.event_count:
                 # No new events since last snapshot.
                 # No new events since last snapshot.
                 return
                 return