Skip to content

Commit 890a5e5

Browse files
authoredJan 20, 2025
Merge pull request #43 from FoamyGuy/last_saved_filename
last_saved_filename property
2 parents 6bfd873 + 85ede00 commit 890a5e5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

Diff for: ‎adafruit_pycamera/__init__.py

+7
Original file line numberDiff line numberDiff line change
@@ -946,6 +946,13 @@ def blit_overlay_into_last_capture(self):
946946
del cc565_swapped
947947
gc.collect()
948948

949+
@property
950+
def last_saved_filename(self) -> str:
951+
"""
952+
The filename of the last image saved.
953+
"""
954+
return self._last_saved_image_filename
955+
949956
def continuous_capture_start(self):
950957
"""Switch the camera to continuous-capture mode"""
951958
pass # pylint: disable=unnecessary-pass

0 commit comments

Comments
 (0)