1
0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-06-30 11:02:54 -05:00

Fix PEP8 issue E713

This commit is contained in:
Jaime Marquínez Ferrándiz
2014-12-09 23:11:26 +01:00
parent b89a938687
commit 83e865a370
4 changed files with 4 additions and 4 deletions

View File

@ -1024,7 +1024,7 @@ def smuggle_url(url, data):
def unsmuggle_url(smug_url, default=None):
if not '#__youtubedl_smuggle' in smug_url:
if '#__youtubedl_smuggle' not in smug_url:
return smug_url, default
url, _, sdata = smug_url.rpartition('#')
jsond = compat_parse_qs(sdata)['__youtubedl_smuggle'][0]