[refactor] Single quotes consistency

This commit is contained in:
Sergey M․ 2016-02-14 15:37:17 +06:00
parent d800609c62
commit 611c1dd96e
59 changed files with 302 additions and 302 deletions

View file

@ -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()])