Corrected path's to config files in config class

This commit is contained in:
echel0n 2014-04-03 20:23:49 -07:00
commit c47f3f60c5

View file

@ -29,11 +29,11 @@ class config(object):
# config files # config files
PROGRAM_DIR = os.path.dirname(os.path.normpath(os.path.abspath(__file__))) PROGRAM_DIR = os.path.dirname(os.path.normpath(os.path.abspath(__file__)))
CONFIG_FILE = os.path.join(PROGRAM_DIR, "../autoProcessMedia.cfg") CONFIG_FILE = os.path.join(PROGRAM_DIR, "autoProcessMedia.cfg")
SAMPLE_CONFIG_FILE = os.path.join(PROGRAM_DIR, "../autoProcessMedia.cfg.sample") SAMPLE_CONFIG_FILE = os.path.join(PROGRAM_DIR, "autoProcessMedia.cfg.sample")
MOVIE_CONFIG_FILE = os.path.join(PROGRAM_DIR, "autoProcessMovie.cfg") MOVIE_CONFIG_FILE = os.path.join(PROGRAM_DIR, "autoProcessMovie.cfg")
TV_CONFIG_FILE = os.path.join(PROGRAM_DIR, "autoProcessTv.cfg") TV_CONFIG_FILE = os.path.join(PROGRAM_DIR, "autoProcessTv.cfg")
LOG_FILE = os.path.join(PROGRAM_DIR, "../postprocess.log") LOG_FILE = os.path.join(PROGRAM_DIR, "postprocess.log")
# config error handling classes # config error handling classes
Error = ConfigParser.Error Error = ConfigParser.Error