Skip to content

Commit

Permalink
more cutoff cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Audionut committed Feb 10, 2025
1 parent e0f0406 commit 3bbed46
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/prep.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def _is_true(self, value):
return str(value).strip().lower() == "true"

async def gather_prep(self, meta, mode):
meta['cutoff'] = int(self.config['DEFAULT'].get('cutoff_screens', 3))
meta['cutoff'] = int(self.config['DEFAULT'].get('cutoff_screens', 1))
task_limit = self.config['DEFAULT'].get('task_limit', "0")
if int(task_limit) > 0:
meta['task_limit'] = task_limit
Expand Down
1 change: 0 additions & 1 deletion src/takescreens.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
if key.startswith("img_host_1")
]
screens = int(config['DEFAULT'].get('screens', 6))
cutoff = int(config['DEFAULT'].get('cutoff_screens', 0))
task_limit = config['DEFAULT'].get('task_limit', "0")
if int(task_limit) > 0:
task_limit = task_limit
Expand Down

0 comments on commit 3bbed46

Please sign in to comment.