Procházet zdrojové kódy

Fixes doc typo shutter -> on_shutter

Ask Solem před 13 roky
rodič
revize
4b583edb36
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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