fix: resolve syntax errors in scan-skipped files
All checks were successful
API Endpoint Tests / test-api-endpoints (push) Successful in 2m12s
CLI Tests / test-cli (push) Successful in 2m58s
Integration Tests / test-service-integration (push) Successful in 2m18s
Python Tests / test-python (push) Successful in 3m6s
Security Scanning / security-scan (push) Successful in 1m7s
All checks were successful
API Endpoint Tests / test-api-endpoints (push) Successful in 2m12s
CLI Tests / test-cli (push) Successful in 2m58s
Integration Tests / test-service-integration (push) Successful in 2m18s
Python Tests / test-python (push) Successful in 3m6s
Security Scanning / security-scan (push) Successful in 1m7s
- Fix malformed f-strings in agent communication SDK - Repair pricing strategy delimiters and optimizer blocks - Normalize FastAPI session dependency signatures in routers - Fix incomplete constructor, indentation, and empty exception blocks - Restore syntax validity for files previously skipped by Bandit
This commit is contained in:
@@ -424,15 +424,14 @@ def main():
|
||||
|
||||
# Wait for coordinator
|
||||
if not wait_for_coordinator():
|
||||
# Registration bypassed for testing
|
||||
session_token = "bypass_token"
|
||||
# # sys.exit(1)
|
||||
logger.error("Coordinator not available")
|
||||
return
|
||||
|
||||
# Register with coordinator
|
||||
session_token = register_miner()
|
||||
if not session_token:
|
||||
# logger.error("Failed to register, exiting")
|
||||
# sys.exit(1)
|
||||
logger.error("Failed to register, exiting")
|
||||
return
|
||||
|
||||
logger.info("Miner registered successfully, starting main loop...")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user