From 53fe9a6d5c817347d5b73d0d78d0b6f905a385d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=91=E8=B4=A8?= Date: Thu, 6 Oct 2022 13:04:22 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=88=E6=9C=AC=E6=8E=A8=E8=BF=9B=E8=87=B3?= =?UTF-8?q?=203.0.7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit + 支持代理 --- OlivaDiceLogger/app.json | 4 ++-- OlivaDiceLogger/data.py | 4 ++-- OlivaDiceLogger/logger.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/OlivaDiceLogger/app.json b/OlivaDiceLogger/app.json index 889f558..a0dd10a 100644 --- a/OlivaDiceLogger/app.json +++ b/OlivaDiceLogger/app.json @@ -4,8 +4,8 @@ "namespace" : "OlivaDiceLogger", "message_mode" : "old_string", "info" : "本模块为OlivaDice的日志模块,提供了跑团日志记录器,它可以在跑团过程中对日志进行记录,并由结果生成跑团日志,与在线的跑团日志渲染器进行联动、或发送日志邮件。", - "version" : "3.0.6", - "svn" : 14, + "version" : "3.0.7", + "svn" : 15, "compatible_svn" : 101, "priority" : 20030, "support" : [ diff --git a/OlivaDiceLogger/data.py b/OlivaDiceLogger/data.py index f10a9f6..beb9c40 100644 --- a/OlivaDiceLogger/data.py +++ b/OlivaDiceLogger/data.py @@ -15,8 +15,8 @@ ''' -OlivaDiceLogger_ver = '3.0.6' -OlivaDiceLogger_svn = 14 +OlivaDiceLogger_ver = '3.0.7' +OlivaDiceLogger_svn = 15 OlivaDiceLogger_ver_short = '%s(%s)' % (str(OlivaDiceLogger_ver), str(OlivaDiceLogger_svn)) dataPath = './plugin/data/OlivaDice/unity' diff --git a/OlivaDiceLogger/logger.py b/OlivaDiceLogger/logger.py index b335506..8da088d 100644 --- a/OlivaDiceLogger/logger.py +++ b/OlivaDiceLogger/logger.py @@ -135,7 +135,7 @@ def uploadLogFile(logName): data = { 'name': logName } - response = req.request("POST", url, files = files, data = data) + response = req.request("POST", url, files = files, data = data, proxies = OlivaDiceCore.webTool.get_system_proxy()) def releaseDir(dir_path): if not os.path.exists(dir_path):