mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Fix article removal for sorting on Display Show, and API pages.
Remove Javascript regex boundary from Python regex.
This commit is contained in:
parent
3bfe5443c4
commit
e7b11c5f4b
2 changed files with 2 additions and 1 deletions
|
@ -18,6 +18,7 @@
|
|||
* Change KickassTorrents provider URLs
|
||||
* Fix missing Content-Type headers for posters and banners
|
||||
* Remove config Backup & Restore
|
||||
* Fix article removal for sorting on Display Show, and API pages
|
||||
|
||||
[develop changelog]
|
||||
* Add TVRage network name standardization
|
||||
|
|
|
@ -1429,4 +1429,4 @@ def get_size(start_path='.'):
|
|||
return total_size
|
||||
|
||||
def remove_article(text=''):
|
||||
return re.sub(r'(?i)/^(?:(?:A(?!\s+to)n?)|The)\s(\w)', r'\1', text)
|
||||
return re.sub(r'(?i)^(?:(?:A(?!\s+to)n?)|The)\s(\w)', r'\1', text)
|
Loading…
Reference in a new issue