Avoid double error that make crash in case of reupload

Fixes #21
This commit is contained in:
Schoumi 2017-05-03 17:14:38 +02:00
parent 14f3b51add
commit ead2d6ce21

View file

@ -389,6 +389,7 @@ class NetworkThread extends Thread{
} catch (JSONException e) {
e.printStackTrace();
listener.fileUploadError(imageUri, context.getString(R.string.unreadable_json));
return;
}
}
if(imgOutput != null) {