Skip to content

Commit

Permalink
github: python 3 bug fix for 0678b1d
Browse files Browse the repository at this point in the history
  • Loading branch information
snarfed committed May 28, 2018
1 parent 0678b1d commit 778edf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion granary/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ def _create(self, obj, preview=None, include_link=source.OMIT_LINK,
})
return source.creation_result(resp['addComment']['commentEdge']['node'])
except ValueError as e:
return source.creation_result(abort=True, error_plain=unicode(e))
return source.creation_result(abort=True, error_plain=str(e))

return source.creation_result(
abort=False,
Expand Down

0 comments on commit 778edf7

Please sign in to comment.