summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bidding_data.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bidding_data.py b/src/bidding_data.py
index 421be95..3b277bb 100644
--- a/src/bidding_data.py
+++ b/src/bidding_data.py
@@ -517,8 +517,10 @@ class JFRBidding(object):
log.getLogger('goniec').info(
'connected to Goniec at %s:%d' \
% (self.__goniec_host, self.__goniec_port))
+ content_lines = [working_directory] + files_to_send + ['bye', '']
goniec_socket.sendall('\n'.join(
- [working_directory] + files_to_send + ['bye', '']))
+ [line.encode(sys.getfilesystemencoding())
+ for line in content_lines]))
log.getLogger('goniec').info(
'working directory is: %s' % working_directory)
goniec_socket.close()