cancel upload_registry

This commit is contained in:
Xuwznln
2025-10-17 02:34:59 +08:00
parent 9c5ecda7cc
commit e728007bc5
2 changed files with 4 additions and 2 deletions

View File

@@ -356,7 +356,7 @@ def main():
if BasicConfig.upload_registry:
# 设备注册到服务端 - 需要 ak 和 sk
if args_dict.get("ak") and args_dict.get("sk"):
if BasicConfig.ak and BasicConfig.sk:
print_status("开始注册设备到服务端...", "info")
try:
register_devices_and_resources(lab_registry)