diff options
author | emkael <emkael@tlen.pl> | 2016-11-10 23:33:32 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2016-11-10 23:33:32 +0100 |
commit | 20c7f46339a9576eeda409d6703177b4d5f0de92 (patch) | |
tree | 2c1fc655ab40153149003e1524aa194b29aa832c /src/bidding_data.py | |
parent | 3d3ed2604cfc47a9ed76e52449679707c7baeb4c (diff) |
* only send to Goniec what exists
Diffstat (limited to 'src/bidding_data.py')
-rw-r--r-- | src/bidding_data.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bidding_data.py b/src/bidding_data.py index e9d4588..4c4ffca 100644 --- a/src/bidding_data.py +++ b/src/bidding_data.py @@ -515,7 +515,8 @@ class JFRBidding(object): + path.sep files_to_send = [file_to_send.replace(working_directory, '', 1) for file_to_send in files_to_send - if file_to_send.startswith(working_directory)] + if file_to_send.startswith(working_directory) + and path.exists(file_to_send)] try: goniec_socket = socket.socket() goniec_socket.connect(( |