소스 검색

Fixes doc typo shutter -> on_shutter

Ask Solem 13 년 전
부모
커밋
4b583edb36
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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