fix: exclude invalid address in counts
This commit is contained in:
@@ -394,7 +394,7 @@ def main(driver: Chrome, logger = logging.getLogger('main')):
|
||||
|
||||
if (target := cell(index, column.email).value) is None or not (email := str(target).strip()):
|
||||
logger.warning("[%d/%d] Not an email address; skipping", index-1, limit-1)
|
||||
raise Skip()
|
||||
raise Next()
|
||||
|
||||
if attempts > parameters['attempts']:
|
||||
cell(index, column.sent).value = '❌'
|
||||
|
||||
Reference in New Issue
Block a user