Skip to content

Commit

Permalink
Merge pull request #13 from Modulaweb/master
Browse files Browse the repository at this point in the history
Fix an utf-8 issue in run.py
  • Loading branch information
peterbe committed May 29, 2013
2 parents df4809d + 3bdc369 commit 4c06209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.py
Expand Up @@ -42,7 +42,7 @@ def run(args):
f.write(link.after)
before_name = 'before_' + link.href.split('/')[-1]
with open(os.path.join(output_dir, before_name), 'w') as f:
f.write(link.before)
f.write(link.before.encode('utf-8'))
print "Files written to", output_dir
print
print (
Expand Down

0 comments on commit 4c06209

Please sign in to comment.