about summary refs log tree commit diff
path: root/youtube_dl/postprocessor/metadatafromtitle.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-02-14 15:37:17 +0600
committerSergey M․ <dstftw@gmail.com>2016-02-14 15:37:17 +0600
commit611c1dd96efc36a788475e14cc4de64d554d28a0 (patch)
tree4ac501e07c6ab8281c22de2d0ec577561e32465c /youtube_dl/postprocessor/metadatafromtitle.py
parentd800609c62703e4e6edd2891a8432306462e4db3 (diff)
downloadyoutube-dl-611c1dd96efc36a788475e14cc4de64d554d28a0.tar.gz
youtube-dl-611c1dd96efc36a788475e14cc4de64d554d28a0.tar.xz
youtube-dl-611c1dd96efc36a788475e14cc4de64d554d28a0.zip
[refactor] Single quotes consistency
Diffstat (limited to 'youtube_dl/postprocessor/metadatafromtitle.py')
-rw-r--r--youtube_dl/postprocessor/metadatafromtitle.py2
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()])