浏览代码

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