Skip to content

Commit 98ffe7b

Browse files
authored
Update to python3 format
Change python2 from file to python3 format
1 parent bcf31f6 commit 98ffe7b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python_sms.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
response = urllib2.urlopen(req)
7171
response_url = response.geturl()
7272
if response_url == url:
73-
print 'SMS sent!'
73+
print ('SMS sent!')
7474
except urllib2.URLError, e:
75-
print 'Send failed!'
76-
print e.reason
75+
print ('Send failed!')
76+
print (e.reason)

0 commit comments

Comments
 (0)