X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/0cae17bec6d31806615fae59a5b3945016285fbe..47adefcf46ce7543b9b850726de5e856dab65e5d:/apps/compress/utils.py?ds=sidebyside

diff --git a/apps/compress/utils.py b/apps/compress/utils.py
index 1e0681f07..3c59728b9 100644
--- a/apps/compress/utils.py
+++ b/apps/compress/utils.py
@@ -58,10 +58,10 @@ def media_root(filename):
     """
     Return the full path to ``filename``. ``filename`` is a relative path name in MEDIA_ROOT
     """
-    return os.path.join(django_settings.MEDIA_ROOT, filename)
+    return os.path.join(django_settings.STATIC_ROOT, filename)
 
 def media_url(url):
-    return django_settings.MEDIA_URL + urlquote(url)
+    return django_settings.STATIC_URL + urlquote(url)
 
 def concat(filenames, separator=''):
     """