Commit ead2d6ce authored by Schoumi's avatar Schoumi

Avoid double error that make crash in case of reupload

Fixes #21
parent 14f3b51a
......@@ -389,6 +389,7 @@ class NetworkThread extends Thread{
} catch (JSONException e) {
listener.fileUploadError(imageUri, context.getString(R.string.unreadable_json));
if(imgOutput != null) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment