We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 188014a commit 707553dCopy full SHA for 707553d
1 file changed
app/settings.py
@@ -24,8 +24,8 @@
24
class Settings:
25
def __init__(self, config):
26
"""Creator function."""
27
- self.toscaDir = config['TOSCA_TEMPLATES_DIR'] + "/"
28
- self.toscaParamsDir = config.get('TOSCA_PARAMETERS_DIR') + "/"
+ self.toscaDir = config.get('TOSCA_TEMPLATES_DIR', '') + "/"
+ self.toscaParamsDir = config.get('TOSCA_PARAMETERS_DIR', '') + "/"
29
self.imUrl = config['IM_URL']
30
self.oidcUrl = config['OIDC_BASE_URL']
31
self.tempSlamUrl = config.get('SLAM_URL') if config.get('SLAM_URL') else ""
0 commit comments