Skip to content
This repository has been archived by the owner on Apr 22, 2021. It is now read-only.

Commit

Permalink
Fix: NULL MimeType when sending files without extension (#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
luguina authored Jun 21, 2020
1 parent 9753859 commit a4b5493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/sheepit/client/Client.java
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ protected void sendError(int step_, Job job_to_reset_, Error.Type error) {

this.log.debug("Sending error to server (type: " + error + ")");
try {
File temp_file = File.createTempFile("farm_", "");
File temp_file = File.createTempFile("farm_", ".txt");
temp_file.createNewFile();
temp_file.deleteOnExit();
FileOutputStream writer = new FileOutputStream(temp_file);
Expand Down

0 comments on commit a4b5493

Please sign in to comment.