minor fix
This commit is contained in:
@@ -409,7 +409,7 @@ def main(driver: Chrome, logger = logging.getLogger('main')):
|
|||||||
raise Skip()
|
raise Skip()
|
||||||
|
|
||||||
if options.get('slice') and (start := options.get('start')) and (end := options.get('limit')):
|
if options.get('slice') and (start := options.get('start')) and (end := options.get('limit')):
|
||||||
if index < start or index > start + end:
|
if index < start or index >= start + end:
|
||||||
logger.info("[%d/%d] Not planned; skipping '%s'", index-1, limit-1, email)
|
logger.info("[%d/%d] Not planned; skipping '%s'", index-1, limit-1, email)
|
||||||
raise Next()
|
raise Next()
|
||||||
if (items := options.get('subcategories')) and (item := str(cell(index, column.region).value)) not in items:
|
if (items := options.get('subcategories')) and (item := str(cell(index, column.region).value)) not in items:
|
||||||
|
|||||||
Reference in New Issue
Block a user