diff options
Diffstat (limited to 'QMTest/SConscript')
-rw-r--r-- | QMTest/SConscript | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/QMTest/SConscript b/QMTest/SConscript index 33fe903..5469d29 100644 --- a/QMTest/SConscript +++ b/QMTest/SConscript @@ -44,12 +44,12 @@ files = [ def copy(target, source, env): t = str(target[0]) s = str(source[0]) - c = open(s, 'rb').read() + c = open(s, 'r').read() # Note: We construct the __ VERSION __ substitution string at # run-time so it doesn't get replaced when this file gets copied # into the tree for packaging. c = c.replace('__' + 'VERSION' + '__', env['VERSION']) - open(t, 'wb').write(c) + open(t, 'w').write(c) for file in files: # Guarantee that real copies of these files always exist in |