mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-08 17:08:35 +08:00
fix 自动限速
This commit is contained in:
@@ -72,6 +72,7 @@ class SpeedLimiter(_PluginBase):
|
||||
try:
|
||||
# 总带宽
|
||||
self._bandwidth = int(float(config.get("bandwidth") or 0)) * 1000000
|
||||
if self._bandwidth > 0:
|
||||
# 自动限速开关
|
||||
self._auto_limit = True
|
||||
except Exception:
|
||||
|
||||
Reference in New Issue
Block a user