Commit graph

5 commits

Author SHA1 Message Date
Paul Beckingham
6ccbf141de TI-52: The 'refresh' scripts overwrites previous years data
- Thanks to m8r.
2016-11-06 08:20:47 -05:00
Jelle van der Waa
e4e04c4ba2 TI-42: holiday calendar error when downloading nb-NO
When downloading the holiday calendar for the nb-NO locale with Python 2
the code throws an 'ascii' encode error.
2016-09-03 15:29:05 -04:00
Jelle van der Waa
5ddef40d82 Make holiday refresh script Python 3 compatible
urllib2 is renamed and reworked in Python 3, handle this change by
importing urlopen and HTTPError directly.

Resolve the print issues, by using print() everywhere.

Python3 reads bytes when reading from urlopen() therefore convert it to
a string with .decode('utf-8')
2016-09-03 14:33:26 -04:00
Paul Beckingham
a0d975462c Docs: Added 'refresh' script to update holidays 2016-05-18 09:10:00 -05:00
Paul Beckingham
63dc3b7405 Holidays: Added stubbed 'refresh' script 2016-03-26 13:33:48 -04:00