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;