fix: potential failure on showing import results
This commit is contained in:
@@ -504,7 +504,7 @@ def main(driver: WebDriver, logger = logging.getLogger('main')):
|
||||
logger.warning('Incomplete import detected; downloading 1 related document')
|
||||
flow.react(Sleep)
|
||||
|
||||
try: click(".mm-tbody table tbody tr:nth-child(1) td:nth-child(3) a", wait=False)
|
||||
try: click(".mm-tbody table tbody tr:nth-child(1) td:nth-child(3) a")
|
||||
except: continue
|
||||
flow.react(Sleep)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user