Skip to content

Commit

Permalink
launcher: makeitem: unescape url parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
ilmich committed Dec 28, 2024
1 parent 24ada03 commit c6bc10c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions lib/concurrent_py2/futures/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

__author__ = 'Brian Quinlan (brian@sweetapp.com)'

from concurrent.futures._base import (FIRST_COMPLETED,
from concurrent_py2.futures._base import (FIRST_COMPLETED,
FIRST_EXCEPTION,
ALL_COMPLETED,
CancelledError,
Expand All @@ -14,10 +14,10 @@
Executor,
wait,
as_completed)
from concurrent.futures.thread import ThreadPoolExecutor
from concurrent_py2.futures.thread import ThreadPoolExecutor

try:
from concurrent.futures.process import ProcessPoolExecutor
from concurrent_py2.futures.process import ProcessPoolExecutor
except ImportError:
# some platforms don't have multiprocessing
pass
2 changes: 1 addition & 1 deletion lib/concurrent_py2/futures/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"""

import atexit
from concurrent.futures import _base
from concurrent_py2.futures import _base
import Queue as queue
import multiprocessing
import threading
Expand Down
2 changes: 1 addition & 1 deletion lib/concurrent_py2/futures/thread.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"""Implements ThreadPoolExecutor."""

import atexit
from concurrent.futures import _base
from concurrent_py2.futures import _base
import itertools
import Queue as queue
import threading
Expand Down
4 changes: 2 additions & 2 deletions platformcode/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from core import filetools
from platformcode import config, logger, platformtools
from platformcode.logger import WebErrorException

from six.moves import urllib

def start():
'''
Expand Down Expand Up @@ -226,7 +226,7 @@ def makeItem():
key, val = e.split('=')
if val.lower() == 'false': val = False
elif val.lower() == 'true': val = True
item.__setattr__(key, val)
item.__setattr__(key, urllib.parse.unquote(val))
# If no item, this is mainlist
else:
item = Item(channel='channelselector', action='getmainlist', viewmode='movie')
Expand Down

0 comments on commit c6bc10c

Please sign in to comment.