CC-2279: Upgrade script for converting stor directory to new format

-further fixes
This commit is contained in:
martin 2011-07-14 16:39:18 -04:00
parent e529a16bdb
commit 9f3218b8d9
3 changed files with 7 additions and 5 deletions

View file

@ -21,7 +21,7 @@ mmconfig = AirtimeMediaConfig(logger)
#get stor folder location from /etc/airtime/airtime.conf
config = ConfigParser.RawConfigParser()
config.read('/etc/airtime/airtime.conf')
stor_dir = config.get('general', 'base_dir')
stor_dir = config.get('general', 'base_files_dir')
mmconfig.storage_directory = os.path.normpath(stor_dir)
mmconfig.imported_directory = os.path.normpath(stor_dir + '/imported')