[video.py] change deletion logic to work when API returns 0 #16
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
From: https://git.vvvvvvaria.org/rra/lumbung-video-prototype/issues/4
Currently all the logic of the script is only executed if the API returns any result. See https://git.autonomic.zone/ruangrupa/lumbunglib/src/branch/master/lumbunglib/video.py#L116
If the instance is offline or all videos are made private, none of the logic runs. Thus, videos are also not deleted. This could contradict the intentions when people choose to make all videos private but the posts are not deleted.
fixed in
bac9bbd7b3