mirror of https://github.com/CrimsonTome/tldr.git
scripts: add python3 compatibility for the bot
parent
0476a38556
commit
fae6737841
|
@ -13,7 +13,7 @@ def post_comment(pr_id, comment_body):
|
|||
# Making the request
|
||||
f = urllib2.urlopen(req)
|
||||
if f.getcode() != 200:
|
||||
print f.read()
|
||||
print(f.read())
|
||||
|
||||
|
||||
# Get the environment variables
|
||||
|
|
Loading…
Reference in New Issue