Remove ur references for Python 3.3 support
This commit is contained in:
parent
01ba00ca42
commit
89fb51dd2d
2 changed files with 4 additions and 4 deletions
|
@ -201,7 +201,7 @@ class FileDownloader(object):
|
|||
|
||||
def fixed_template(self):
|
||||
"""Checks if the output template is fixed."""
|
||||
return (re.search(ur'(?u)%\(.+?\)s', self.params['outtmpl']) is None)
|
||||
return (re.search(u'(?u)%\\(.+?\\)s', self.params['outtmpl']) is None)
|
||||
|
||||
def trouble(self, message=None):
|
||||
"""Determine action to take when a download problem appears.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue