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