mirror of
https://git.lecygnenoir.info/LecygneNoir/prismedia.git
synced 2025-10-03 17:39:16 +02:00
fix unicode comparison in pt_upload
This commit is contained in:
parent
9aa84aa8b7
commit
f8d1fb8e33
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ def get_default_playlist(user_info):
|
|||
|
||||
def get_playlist_by_name(user_info, options):
|
||||
for playlist in user_info["videoChannels"]:
|
||||
if playlist['displayName'] == options.get('--playlist'):
|
||||
if playlist['displayName'].encode('utf8') == str(options.get('--playlist')):
|
||||
return playlist['id']
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue