From 5da937756b49143b2d3babcee75130bd6a2f8773 Mon Sep 17 00:00:00 2001 From: udf Date: Thu, 1 Nov 2018 23:24:17 +0200 Subject: [PATCH] fix fix --- stdplugins/sp_prog_rename.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdplugins/sp_prog_rename.py b/stdplugins/sp_prog_rename.py index 1c4c0d8..47f503b 100644 --- a/stdplugins/sp_prog_rename.py +++ b/stdplugins/sp_prog_rename.py @@ -17,7 +17,7 @@ def fix_title(s): token = m.group(1) if token.lower() == 'and': token = '&' - return token.capitalize() + (' ' if m.group(2) else '') + return token[0].upper() + token[1:] + (' ' if m.group(2) else '') return re.sub(r'(\S+)(\s+)?', replace, s)