1
0
mirror of https://github.com/djohnlewis/stackdump synced 2024-12-04 23:17:37 +00:00

Fixed media root path due to file having moved directories.

This commit is contained in:
Samuel Lai 2011-10-30 17:11:41 +11:00
parent d541bdeabc
commit 18850e5bb5

View File

@ -5,7 +5,7 @@ import os
# STATIC VARIABLES
BOTTLE_ROOT = os.path.abspath(os.path.dirname(sys.argv[0]))
MEDIA_ROOT = os.path.abspath(BOTTLE_ROOT + '/../media')
MEDIA_ROOT = os.path.abspath(BOTTLE_ROOT + '/../../media')
# WEB REQUEST METHODS