Skip to content

Commit

Permalink
Fix error when embed_configuration is missing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Smith authored and Thomas Smith committed Dec 30, 2018
1 parent ec9dd60 commit e50d964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_js_custom_syntaxes.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def merge(*dicts):

def get_configurations(settings):
configs = settings['configurations']
if settings['embed_configuration']:
if settings.get('embed_configuration', None):
configs = merge(
{ '~embed': settings['embed_configuration'] },
settings['configurations']
Expand Down

0 comments on commit e50d964

Please sign in to comment.