Prepend images with img_
This commit is contained in:
parent
59fd808fa9
commit
df918bf286
1 changed files with 4 additions and 2 deletions
|
|
@ -141,8 +141,10 @@ class CaptureInfo:
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def filename(self) -> str:
|
def filename(self) -> str:
|
||||||
"""The filename for this image generated from the position."""
|
"""The filename for this image generated from the position, prepended with "img_"."""
|
||||||
return f"{self.position['x']}_{self.position['y']}_{self.position['z']}.jpeg"
|
return (
|
||||||
|
f"img_{self.position['x']}_{self.position['y']}_{self.position['z']}.jpeg"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
def _get_capture_by_id(captures: list[CaptureInfo], buffer_id: int) -> CaptureInfo:
|
def _get_capture_by_id(captures: list[CaptureInfo], buffer_id: int) -> CaptureInfo:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue