summaryrefslogtreecommitdiff
path: root/bcdd
diff options
context:
space:
mode:
Diffstat (limited to 'bcdd')
-rw-r--r--bcdd/PBNFile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bcdd/PBNFile.py b/bcdd/PBNFile.py
index 16f4d6d..c538bb4 100644
--- a/bcdd/PBNFile.py
+++ b/bcdd/PBNFile.py
@@ -28,7 +28,7 @@ class PBNFile(object):
def write_board(self, board):
if self.output_file is None:
self.output_file = tempfile.NamedTemporaryFile(
- mode='w', encoding='utf-8', delete=False)
+ mode='w', delete=False)
for field in board.fields:
self.output_file.write(field.raw_field + '\n')
self.output_file.write('\n')