File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 22# 被依赖方 <--- 使用方
33# config <--- entity <--- toolkit <--- client <--- option <--- downloader
44
5- __version__ = '2.6.7 '
5+ __version__ = '2.6.8 '
66
77from .api import *
88from .jm_plugin import *
Original file line number Diff line number Diff line change @@ -383,11 +383,12 @@ def get_album_cover_url(cls,
383383 """
384384 if image_domain is None :
385385 import random
386- image_domain = random .choice (JmModuleConfig .DOMAIN_IMAGE_LIST ) # noqa: S311
386+ image_domain = random .choice (JmModuleConfig .DOMAIN_IMAGE_LIST )
387387
388388 path = f'/media/albums/{ cls .parse_to_jm_id (album_id )} { size } .jpg'
389389 return cls .format_url (path , image_domain )
390390
391+
391392# 支持dsl: #{???} -> os.getenv(???)
392393JmcomicText .dsl_replacer .add_dsl_and_replacer (r'\$\{(.*?)\}' , JmcomicText .match_os_env )
393394
You can’t perform that action at this time.
0 commit comments