Skip to content

Commit

Permalink
fix bug #536 (#537)
Browse files Browse the repository at this point in the history
* fix bug #536 

* v2.6.25
  • Loading branch information
Quan666 authored Sep 16, 2024
1 parent 5d1418a commit d8a2d5b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "ELF_RSS"
version = "2.6.24"
version = "2.6.25"
description = "QQ机器人 RSS订阅 插件,订阅源建议选择 RSSHub"
authors = ["Quan666 <[email protected]>"]
license = "GPL-3.0-only"
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/ELF_RSS2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from .rss_class import Rss
from .utils import send_message_to_admin

VERSION = "2.6.24"
VERSION = "2.6.25"

__plugin_meta__ = PluginMetadata(
name="ELF_RSS",
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/ELF_RSS2/rss_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def get_url(self, rsshub: str = str(config.rsshub)) -> str:
if URL(self.url).scheme in ["http", "https"]:
return self.url
# 去除 rsshub地址末尾的斜杠 和 订阅地址开头的斜杠
return f"{rsshub.rstrip("/")}/{self.url.lstrip("/")}"
return f"{rsshub.rstrip('/')}/{self.url.lstrip('/')}"

# 读取记录
@staticmethod
Expand Down

0 comments on commit d8a2d5b

Please sign in to comment.