From 0afa46a18cb796e11d92fafa0a71f8d9b65d34fb Mon Sep 17 00:00:00 2001 From: fkloft Date: Thu, 20 Oct 2016 21:50:01 +0200 Subject: [PATCH] fix build script for python 2 --- build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.py b/build.py index 59423c73..c0151306 100755 --- a/build.py +++ b/build.py @@ -236,7 +236,7 @@ main = doReplacements(main,downloadUrl=downloadUrl,updateUrl=updateUrl) saveScriptAndMeta(main, outDir, 'total-conversion-build.user.js', oldDir) with io.open(os.path.join(outDir, '.build-timestamp'), 'w') as f: - f.write(time.strftime('%Y-%m-%d %H:%M:%S UTC', utcTime)) + f.write(u"" + time.strftime('%Y-%m-%d %H:%M:%S UTC', utcTime)) # for each plugin, load, parse, and save output