Remove ur references for Python 3.3 support
[youtube-dl] / youtube_dl / FileDownloader.py
index 89beaf4538dbc36e62fe1aed823bb25e0c1ecf34..868023db9f2d1233ed96ac680a8b0966336f27ef 100644 (file)
@@ -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.