mirror of
https://github.com/d0zingcat/MoviePilot-Plugins.git
synced 2026-06-07 07:26:47 +00:00
fix:修复野马数据统计错误
This commit is contained in:
@@ -43,7 +43,7 @@ class SiteStatistic(_PluginBase):
|
||||
# 插件图标
|
||||
plugin_icon = "statistic.png"
|
||||
# 插件版本
|
||||
plugin_version = "3.9.1"
|
||||
plugin_version = "3.9.2"
|
||||
# 插件作者
|
||||
plugin_author = "lightolly"
|
||||
# 作者主页
|
||||
|
||||
@@ -62,8 +62,8 @@ class TYemaSiteUserInfo(ISiteUserInfo):
|
||||
self.user_level = user_info.get("level")
|
||||
self.join_at = StringUtils.unify_datetime_str(user_info.get("registerTime"))
|
||||
|
||||
self.upload = user_info.get('uploadSize')
|
||||
self.download = user_info.get('downloadSize')
|
||||
self.upload = user_info.get('promotionUploadSize')
|
||||
self.download = user_info.get('promotionDownloadSize')
|
||||
self.ratio = round(self.upload / (self.download or 1), 2)
|
||||
self.bonus = user_info.get("bonus")
|
||||
self.message_unread = 0
|
||||
|
||||
Reference in New Issue
Block a user