修复代码异常

This commit is contained in:
wangsong 2024-04-25 16:19:04 +08:00
parent 2275aa4b4e
commit b6454ff7a9
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ class UpdateManager():
logging.info("Generate Jsonfile(%s) to complete... ",output_config_name)
except Exception as e:
logging.error(e)
def _check_conf_dir():
def _check_conf_dir(self):
# 检查var配置目录是否存在 不存在时进行创建
VAR_CONFG_DIR = '/var/lib/kylin-system-updater'
if not os.path.exists(VAR_CONFG_DIR):