Return `target` instead of `_url` in get_css.CSSReplacer.__call__().
authorW. Trevor King <wking@drexel.edu>
Sun, 9 Jan 2011 13:04:39 +0000 (08:04 -0500)
committerW. Trevor King <wking@drexel.edu>
Sun, 9 Jan 2011 13:04:39 +0000 (08:04 -0500)
posts/get_css/get_css.py

index 1cda483be4a892b6a4924a58d8aaf1ddc018357c..a25e3f24c0a8c19af46041f73c8590db2dca14fc 100755 (executable)
@@ -183,7 +183,7 @@ class CSSReplacer (object):
             mkdir(self._data_dir)
         with open(os.path.join(self._data_dir, filename), 'wb') as f:
             f.write(data)
-        return _url
+        return target
 
 
 def _standardize_css(sheet, **kwargs):