CC-2279: Upgrade script for converting stor directory to new format
-further fixes
This commit is contained in:
parent
e529a16bdb
commit
9f3218b8d9
3 changed files with 7 additions and 5 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue