Refactors dir module to reflect cic_ussd data seeding dir structure.
This commit is contained in:
parent
8a002fa801
commit
0e9c4e5199
@ -12,12 +12,13 @@ def initialize_dirs(user_dir, force_reset=False):
|
||||
dirs['new'] = os.path.join(user_dir, 'new')
|
||||
dirs['meta'] = os.path.join(user_dir, 'meta')
|
||||
dirs['custom'] = os.path.join(user_dir, 'custom')
|
||||
dirs['phone'] = os.path.join(user_dir, 'phone')
|
||||
dirs['preferences'] = os.path.join(user_dir, 'preferences')
|
||||
dirs['txs'] = os.path.join(user_dir, 'txs')
|
||||
dirs['keyfile'] = os.path.join(user_dir, 'keystore')
|
||||
dirs['custom_new'] = os.path.join(dirs['custom'], 'new')
|
||||
dirs['custom_meta'] = os.path.join(dirs['custom'], 'meta')
|
||||
dirs['phone_meta'] = os.path.join(dirs['phone'], 'meta')
|
||||
dirs['preferences_meta'] = os.path.join(dirs['preferences'], 'meta')
|
||||
dirs['preferences_new'] = os.path.join(dirs['preferences'], 'new')
|
||||
|
||||
try:
|
||||
os.stat(dirs['old'])
|
||||
|
Loading…
Reference in New Issue
Block a user