[video.py] change deletion logic to work when API returns 0 #16

Closed
opened 2022-01-09 20:10:27 +00:00 by r · 1 comment
Member

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.

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.
knoflook self-assigned this 2022-03-04 10:15:50 +00:00
aadil added the due date 2022-04-15 2022-04-08 09:18:15 +00:00
Owner

fixed in bac9bbd7b3

fixed in https://git.autonomic.zone/ruangrupa/lumbunglib/commit/bac9bbd7b3c6d48a41a6692e9d9e5cf08f16e20c
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

2022-04-15

Dependencies

No dependencies set.

Reference: ruangrupa/konfluks#16
No description provided.