Skip to content

Commit

Permalink
fix: nbedos#6
Browse files Browse the repository at this point in the history
AttributeError: 'str' object has no attribute 'decode'
  • Loading branch information
yssource committed Jul 2, 2018
1 parent 891c707 commit a793c09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
termtosvg.egg-info/
2 changes: 1 addition & 1 deletion termtosvg/term.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,4 +364,4 @@ def _get_xresources():
if data is None:
return None

return data.value.decode('utf-8')
return data.value

0 comments on commit a793c09

Please sign in to comment.