Skip to content

Commit

Permalink
Merge pull request #195 from kamaradclimber/yaml_unicode
Browse files Browse the repository at this point in the history
Use unicode in yaml output
  • Loading branch information
Toilal committed Apr 4, 2015
2 parents b321950 + 07792f2 commit 324901c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guessit/__main__.py
Expand Up @@ -52,7 +52,7 @@ def guess_file(filename, info='filename', options=None, **kwargs):
for k, v in guess.items():
if isinstance(v, list) and len(v) == 1:
guess[k] = v[0]
ystr = yaml.safe_dump({filename: dict(guess)}, default_flow_style=False)
ystr = yaml.safe_dump({filename: dict(guess)}, default_flow_style=False, allow_unicode=True)
i = 0
for yline in ystr.splitlines():
if i == 0:
Expand Down

0 comments on commit 324901c

Please sign in to comment.