mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Correct typo
This commit is contained in:
parent
438dc4f864
commit
4d741b242e
1 changed files with 3 additions and 3 deletions
|
@ -48,13 +48,13 @@ class Artwork(object):
|
||||||
|
|
||||||
def _double_urlencode(self, text):
|
def _double_urlencode(self, text):
|
||||||
|
|
||||||
text = self._single_urlencode(text)
|
text = self.single_urlencode(text)
|
||||||
text = self._single_urlencode(text)
|
text = self.single_urlencode(text)
|
||||||
|
|
||||||
return text
|
return text
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def _single_urlencode(cls, text):
|
def single_urlencode(cls, text):
|
||||||
# urlencode needs a utf- string
|
# urlencode needs a utf- string
|
||||||
text = urllib.urlencode({'blahblahblah': text.encode('utf-8')})
|
text = urllib.urlencode({'blahblahblah': text.encode('utf-8')})
|
||||||
text = text[13:]
|
text = text[13:]
|
||||||
|
|
Loading…
Reference in a new issue