From 0e04801a5c63e79e9fe8b934cdfc78d92338515f Mon Sep 17 00:00:00 2001 From: sagie <61778471+sagiesec@users.noreply.github.com> Date: Mon, 31 Jan 2022 16:36:10 +0200 Subject: [PATCH] fix(CornerShot): issue with _gen_next_tasks (#10) Co-authored-by: sagiezero <61778471+sagiezero@users.noreply.github.com> --- cornershot/cornershot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cornershot/cornershot.py b/cornershot/cornershot.py index 18c56c4..fe77c14 100644 --- a/cornershot/cornershot.py +++ b/cornershot/cornershot.py @@ -135,7 +135,7 @@ def _get_next_tasks(self,remaining): else: new_tasks = self.shot_list[0:remaining ] - self.shot_list = self.shot_list[remaining + 1:] + self.shot_list = self.shot_list[remaining:] return new_tasks