中文名?

This commit is contained in:
luoxueyi 2022-08-04 13:41:24 +08:00
parent 3fc6a31130
commit 96996c1aec
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,6 @@ class Sqlite3Server(object):
# 写入updateinfos表中
def insert_into_updateinfo(self, *args, **kwargs):
logging.info(_("Inserting data into the database... "))
try:
self.cursor.execute(
"insert into updateinfos (appname, version, description, date, status, keyword, errorcode, appname_cn, status_cn, changelog) values(?,"
@ -273,6 +272,7 @@ class Sqlite3Server(object):
InstallInfos.update({"errorCode":str(error_string+" "+error_desc)})
self.window_main.collector.Upgrade_Process_Msg("finish-install", InstallInfos.copy())
# 软件商店获取中文名insert_into_displayr(pkgname))
appname_cn = self.get_cn_appname(str(pkgname))
#FIXME: 临时方案 PHP
PHPSeverSend(_send_log = self.window_main.configs_uncover.getWithDefault("SystemStatus", "upload_upgrade_log", False), _appname=pkgname, _appversion=pkgversion, _statue=status, _errorcode="10000100")
try: