mirror of
https://github.com/alantang1977/JunTV.git
synced 2024-12-05 00:33:10 +02:00
refactor:remove_cache_info
This commit is contained in:
parent
654b6fc5f1
commit
ba155206e1
1 changed files with 1 additions and 1 deletions
|
@ -507,7 +507,7 @@ def remove_cache_info(str):
|
|||
"""
|
||||
Remove the cache info from the string
|
||||
"""
|
||||
return re.sub(r"cache:.*|\-cache:.*", "", str)
|
||||
return re.sub(r"[^a-zA-Z\u4e00-\u9fa5\$]?cache:.*", "", str)
|
||||
|
||||
|
||||
def resource_path(relative_path, persistent=False):
|
||||
|
|
Loading…
Reference in a new issue