Skip to content

Commit d8a2d5b

Browse files
authored
fix bug #536 (#537)
* fix bug #536 * v2.6.25
1 parent 5d1418a commit d8a2d5b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "ELF_RSS"
3-
version = "2.6.24"
3+
version = "2.6.25"
44
description = "QQ机器人 RSS订阅 插件,订阅源建议选择 RSSHub"
55
authors = ["Quan666 <[email protected]>"]
66
license = "GPL-3.0-only"

src/plugins/ELF_RSS2/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from .rss_class import Rss
1515
from .utils import send_message_to_admin
1616

17-
VERSION = "2.6.24"
17+
VERSION = "2.6.25"
1818

1919
__plugin_meta__ = PluginMetadata(
2020
name="ELF_RSS",

src/plugins/ELF_RSS2/rss_class.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def get_url(self, rsshub: str = str(config.rsshub)) -> str:
5050
if URL(self.url).scheme in ["http", "https"]:
5151
return self.url
5252
# 去除 rsshub地址末尾的斜杠 和 订阅地址开头的斜杠
53-
return f"{rsshub.rstrip("/")}/{self.url.lstrip("/")}"
53+
return f"{rsshub.rstrip('/')}/{self.url.lstrip('/')}"
5454

5555
# 读取记录
5656
@staticmethod

0 commit comments

Comments
 (0)