mirror of
https://github.com/Syncplay/syncplay
synced 2025-03-11 06:07:53 +00:00
Remove obsolete encode/decode calls
This commit is contained in:
parent
9e4ea68171
commit
ee0bd52615
@ -972,12 +972,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
||||
self.updatingPlaylist = True
|
||||
for URI in URIsToAdd:
|
||||
URI = URI.rstrip()
|
||||
try:
|
||||
URI = URI.encode('utf-8')
|
||||
except UnicodeDecodeError:
|
||||
pass
|
||||
URI = urllib.parse.unquote(URI)
|
||||
URI = URI.decode('utf-8')
|
||||
if URI != "":
|
||||
self.addStreamToPlaylist(URI)
|
||||
self.updatingPlaylist = False
|
||||
|
Loading…
Reference in New Issue
Block a user