mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
Fixed path for program directory in config class
This commit is contained in:
parent
c47f3f60c5
commit
5baf68241c
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ class config(object):
|
|||
NZBGET_POSTPROCESS_NONE = 95
|
||||
|
||||
# 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(os.path.join(__file__, os.pardir))))
|
||||
CONFIG_FILE = os.path.join(PROGRAM_DIR, "autoProcessMedia.cfg")
|
||||
SAMPLE_CONFIG_FILE = os.path.join(PROGRAM_DIR, "autoProcessMedia.cfg.sample")
|
||||
MOVIE_CONFIG_FILE = os.path.join(PROGRAM_DIR, "autoProcessMovie.cfg")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue