Fix PEP8 invalid escape sequences

This commit is contained in:
Labrys of Knossos 2018-12-26 11:31:17 -05:00 committed by Lizband
commit 985f004e32
4 changed files with 14 additions and 14 deletions

View file

@ -445,8 +445,8 @@ def initialize(section=None):
pass
devnull.close()
COMPRESSEDCONTAINER = [re.compile('.r\d{2}$', re.I),
re.compile('.part\d+.rar$', re.I),
COMPRESSEDCONTAINER = [re.compile(r'.r\d{2}$', re.I),
re.compile(r'.part\d+.rar$', re.I),
re.compile('.rar$', re.I)]
COMPRESSEDCONTAINER += [re.compile('{0}$'.format(ext), re.I) for ext in CFG["Extensions"]["compressedExtensions"]]
MEDIACONTAINER = CFG["Extensions"]["mediaExtensions"]