File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -142,6 +142,10 @@ org-protocol-capture-html.sh -h "TODO Feed the cat!" -t i "He gets grouchy if I
142
142
143
143
* Changelog :noexport_1:
144
144
145
+ ** <2019-05-12>
146
+
147
+ + Python 2-3 compatibility fixes in =org-protocol-capture-html.sh=. ([[https://github.com/alphapapa/org-protocol-capture-html/pull/31][#31]]. Thanks to [[https://github.com/samspills][Sam Pillsworth]].)
148
+
145
149
** <2017-04-17>
146
150
147
151
+ Use [[https://github.com/magnars/s.el][s.el]].
Original file line number Diff line number Diff line change 48
48
49
49
function urlencode {
50
50
python -c "
51
+ from __future__ import print_function
51
52
try:
52
53
from urllib import quote # Python 2
53
54
except ImportError:
54
55
from urllib.parse import quote # Python 3
56
+ import sys
55
57
56
- import sys, urllib
57
-
58
- print urllib.quote(sys.stdin.read()[:-1], safe='')"
58
+ print(quote(sys.stdin.read()[:-1], safe=''))"
59
59
}
60
60
61
61
# * Args
You can’t perform that action at this time.
0 commit comments