make folderdepth part of config

This commit is contained in:
j 2013-02-04 18:37:26 +05:30
commit 98adab1259
2 changed files with 3 additions and 4 deletions

View file

@ -46,6 +46,8 @@ def load_config():
settings.SERVER_EMAIL = config['site']['email']['system']
config['site']['videoprefix'] = settings.VIDEO_PREFIX
config['site']['version'] = get_version()
if not 'folderdepth' in config['site']:
config['site']['folderdepth'] = settings.USE_IMDB and 4 or 3
config['keys'] = {}
for key in config['itemKeys']: