Skip to content

Minutes Diff Check Before Getting New Photos Can Fail #1

@iamstevedavis

Description

@iamstevedavis

Currently the minutes diff check in foto_viewer.py is as follows

time_since_last_fetch = (datetime.now().minute - last_image_fetch_time.minute)

this can fail in the case where the pi is restarted continually or somehow the check is missed. If the hours advanced by 3 the minutes diff could still be less than 30.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions