diff options
| author | morefigs <morefigs@gmail.com> | 2019-04-14 07:03:22 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-14 07:03:22 +1000 |
| commit | 7b4013d9a9d190c202e6e91c0d05f71cae439d36 (patch) | |
| tree | 74f2ecc1bf84a6e905b1b8c05d696a63577453e5 | |
| parent | 3d00598641e5b1ee570390148e15d8a8c7e19183 (diff) | |
| download | pymba-dev.tar.gz pymba-dev.zip | |
Type hint for empty callbackdev
| -rw-r--r-- | pymba/camera.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pymba/camera.py b/pymba/camera.py index 44f211c..5c72e1c 100644 --- a/pymba/camera.py +++ b/pymba/camera.py @@ -226,7 +226,7 @@ class Camera(VimbaObject): # setup frame ready callbacks if mode == CONTINUOUS: if callback is None: - def callback(frame): + def callback(frame: Frame) -> None: pass self._user_callback = callback |
