diff options
Diffstat (limited to 'youtube_dl/postprocessor/metadatafromtitle.py')
| -rw-r--r-- | youtube_dl/postprocessor/metadatafromtitle.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/youtube_dl/postprocessor/metadatafromtitle.py b/youtube_dl/postprocessor/metadatafromtitle.py index a56077f20..42377fa0f 100644 --- a/youtube_dl/postprocessor/metadatafromtitle.py +++ b/youtube_dl/postprocessor/metadatafromtitle.py @@ -24,7 +24,7 @@ class MetadataFromTitlePP(PostProcessor):             '(?P<title>.+)\ \-\ (?P<artist>.+)'          """          lastpos = 0 -        regex = "" +        regex = ''          # replace %(..)s with regex group and escape other string parts          for match in re.finditer(r'%\((\w+)\)s', fmt):              regex += re.escape(fmt[lastpos:match.start()]) | 
