Skip to content

Commit

Permalink
fix(sim:ta): Change default DICE_KEYS path.
Browse files Browse the repository at this point in the history
  • Loading branch information
vinci1it2000 committed Nov 30, 2018
1 parent 5859ec9 commit 68039af
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
Binary file modified pCO2SIM/src/co2mpas/co2mpas_template.xlsx
Binary file not shown.
Binary file modified pCO2SIM/src/co2mpas/demos/co2mpas_demo-1.xlsx
Binary file not shown.
Binary file modified pCO2SIM/src/co2mpas/demos/co2mpas_simplan.xlsx
Binary file not shown.
9 changes: 4 additions & 5 deletions pCO2SIM/src/co2mpas/io/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,14 +200,13 @@ class Constants(utl.Constants):
DECLARATION_SELECTOR_CONFIG = {'config': dict.fromkeys(models_id, value)}

#: Encryption keys path.
ENCRYPTION_KEYS_PATH = os.environ.get(
'ENCRYPTION_KEYS_PATH', './dice.co2mpas.keys'
ENCRYPTION_KEYS_PATH = os.path.join(
os.environ.get('HOME', '.'), 'DICE_KEYS', 'dice.co2mpas.keys'
)

#: Signature key path.
SIGN_KEY_PATH = os.environ.get(
'SIGN_KEY_PATH',
os.path.join(os.path.dirname(ENCRYPTION_KEYS_PATH), 'sign.co2mpas.key')
SIGN_KEY_PATH = os.path.join(
os.environ.get('HOME', '.'), 'DICE_KEYS', 'sign.co2mpas.key'
)


Expand Down

0 comments on commit 68039af

Please sign in to comment.