mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-20 08:17:53 +03:00
scripts: add python3 compatibility for the bot
This commit is contained in:
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
Block a user