From 7675bd9c68033a3340cf9075da2c2ca902186893 Mon Sep 17 00:00:00 2001 From: Piotr Maslanka <piotr.maslanka@henrietta.com.pl> Date: Wed, 31 May 2017 21:33:40 +0200 Subject: [PATCH] . --- build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.py b/build.py index 01b166a..111d6da 100644 --- a/build.py +++ b/build.py @@ -3,7 +3,7 @@ from __future__ import print_function import json, sys import os.path -def readin(path, func=lambda x: x, orelse=None): +def readin(path, func=bytes, orelse=None): if os.path.exists(path): with open(path, 'rb') as fin: return func(fin.read()) -- GitLab