Mercurial > hg > bitsyblog
changeset 130:fbcbcd36329e
py3
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 03 Nov 2020 15:04:10 -0800 |
parents | 85c8877f4c16 |
children | 2d944e8f24e9 |
files | bitsyblog/bitsyblog.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bitsyblog/bitsyblog.py Tue Nov 03 15:02:24 2020 -0800 +++ b/bitsyblog/bitsyblog.py Tue Nov 03 15:04:10 2020 -0800 @@ -108,7 +108,7 @@ # header if self.header: if os.path.exists(self.header): - self.header = file(self.header).read() + self.header = open(self.header).read() self.header = Markup(self.header) # for BitsyAuth