Skip to content

Commit

Permalink
Use full_load in yaml-highlight example
Browse files Browse the repository at this point in the history
  • Loading branch information
perlpunk committed Dec 7, 2019
1 parent a5f4329 commit 34e073d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/yaml-highlight/yaml_hl.py
Expand Up @@ -44,7 +44,7 @@ class YAMLHighlight:

def __init__(self, options):
with open(options.config, 'rb') as yaml_file:
config = yaml.load(yaml_file.read())
config = yaml.full_load(yaml_file.read())
self.style = config[options.style]
if options.input:
self.input = open(options.input, 'rb')
Expand Down

0 comments on commit 34e073d

Please sign in to comment.