diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-02-14 15:37:17 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-02-14 15:37:17 +0600 |
commit | 611c1dd96efc36a788475e14cc4de64d554d28a0 (patch) | |
tree | 4ac501e07c6ab8281c22de2d0ec577561e32465c /youtube_dl/postprocessor/metadatafromtitle.py | |
parent | d800609c62703e4e6edd2891a8432306462e4db3 (diff) |
[refactor] Single quotes consistency
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()]) |