Mercurial > p > roundup > code
view tools/base64 @ 5119:748ba87e1aca
Added a new cgi action restore. The opposite of (and a clone of) the existing retire action.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 03 Jul 2016 10:38:47 -0400 |
| parents | 740102dfad1d |
| children | c75defc1c2f0 |
line wrap: on
line source
#!/usr/bin/env python import zlib, base64, sys print base64.encodestring(zlib.compress(sys.stdin.read()))
