Replace Piratebay apostrophe

Fixes #2839
This commit is contained in:
Ade
2017-02-02 19:46:31 +13:00
parent c29dda3af6
commit e6b74be1f6

View File

@@ -1715,7 +1715,7 @@ def searchTorrent(album, new=False, losslessOnly=False, albumlength=None,
# Pirate Bay
if headphones.CONFIG.PIRATEBAY:
provider = "The Pirate Bay"
tpb_term = term.replace("!", "")
tpb_term = term.replace("!", "").replace("'", " ")
# Use proxy if specified
if headphones.CONFIG.PIRATEBAY_PROXY_URL: