If you try to configure the variables above from config file, nothing will change. The problems are:
1241 while was_cloning_fail and num_of_tries <= retry_limit:
...
1243 printstyled( 'RETRYING: Try #{} of {} to clone repo.'.format( (num_of_tries+1), retry_limit ), 'magenta' )
Should be:
1241 while was_cloning_fail and num_of_tries <= BACKUP_MAX_RETRIES:
...
1243 printstyled( 'RETRYING: Try #{} of {} to clone repo.'.format( (num_of_tries), BACKUP_MAX_RETRIES ), 'magenta' )
1286 if failed_repos > 0 and failed_repos <= warning_limit:
1288 if failed_repos > warning_limit and failed_repos <= len( repos ):
Should be:
1286 if failed_repos > 0 and failed_repos <= BACKUP_MAX_FAILS:
1288 if failed_repos > BACKUP_MAX_FAILS and failed_repos <= len( repos ):
If you try to configure the variables above from config file, nothing will change. The problems are:
1241 while was_cloning_fail and num_of_tries <= retry_limit:...1243 printstyled( 'RETRYING: Try #{} of {} to clone repo.'.format( (num_of_tries+1), retry_limit ), 'magenta' )Should be:
1241 while was_cloning_fail and num_of_tries <= BACKUP_MAX_RETRIES:...1243 printstyled( 'RETRYING: Try #{} of {} to clone repo.'.format( (num_of_tries), BACKUP_MAX_RETRIES ), 'magenta' )1286 if failed_repos > 0 and failed_repos <= warning_limit:1288 if failed_repos > warning_limit and failed_repos <= len( repos ):Should be:
1286 if failed_repos > 0 and failed_repos <= BACKUP_MAX_FAILS:1288 if failed_repos > BACKUP_MAX_FAILS and failed_repos <= len( repos ):