From 1b946b48806baf5c79c0f5b9b5a3d70e17c60f21 Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Sat, 20 Aug 2022 13:28:56 -0500 Subject: [PATCH] Maybe it's bad to return Co-authored-by: sigonasr2 --- sigServer.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/sigServer.java b/sigServer.java index c9e000d..8bcdb3b 100644 --- a/sigServer.java +++ b/sigServer.java @@ -147,14 +147,12 @@ public class sigServer { if (!wroteData) { System.out.println("Upload failed!"); CreateRequest(client,"400","Bad Request",Paths.get(sigPlace.OUTDIR,"testfile.html")); - return; } else { System.out.println("Saving upload to "+myFile); if (filename.contains(".png")) { CreateRequest(client,"200","OK",Paths.get(sigPlace.OUTDIR,"testfile.html")); ArcadeReader.submitToDatabase(Paths.get(sigPlace.ARCADEDIR,filename)); System.out.println("Submitted to the database!"); - return; } } filename=null;